| Modifier and Type | Field and Description |
|---|---|
| private final Object | value
The object that is checked to be equal to the matched value. |
| Access | Constructor and Description |
|---|---|
| public | EqualityMatcher(Object
The object that is checked to be equal to the matched value. value)Creates an element matcher that tests for equality. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | matches(T
The instance to be matched or target)null.Implements net. |
| public String |
| value | back to summary |
|---|---|
| private final Object value The object that is checked to be equal to the matched value. | |
| EqualityMatcher | back to summary |
|---|---|
| public EqualityMatcher(Object value) Creates an element matcher that tests for equality.
| |
| matches | back to summary |
|---|---|
| public boolean matches(T target) Implements net. Doc from net. Matches a target against this element matcher.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |