| Modifier and Type | Field and Description |
|---|---|
| private static final BooleanMatcher | FALSE
A matcher that always returns |
| protected final boolean | matches
The predefined result. |
| private static final BooleanMatcher | TRUE
A matcher that always returns |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | matches(T
The instance to be matched or target)null.Implements net. |
| public static < The type of the matched entity. T> ElementMatcher. | Returns: A matcher that returns the provided result for all inputs.A matcher that always matches or never matches. matches)Returns an element matcher that returns the provided result. |
| public String |
| FALSE | back to summary |
|---|---|
| private static final BooleanMatcher<?> FALSE A matcher that always returns | |
| matches | back to summary |
|---|---|
| protected final boolean matches The predefined result. | |
| TRUE | back to summary |
|---|---|
| private static final BooleanMatcher<?> TRUE A matcher that always returns | |
| BooleanMatcher | back to summary |
|---|---|
| public BooleanMatcher(boolean matches) Creates a new boolean element matcher.
| |
| matches | back to summary |
|---|---|
| public boolean matches(T target) Implements net. Doc from net. Matches a target against this element matcher.
| |
| of | back to summary |
|---|---|
| public static <T> ElementMatcher. Returns an element matcher that returns the provided result.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |