Constructor | Description |
---|---|
AbstractMatcher() |
Modifier and Type | Method | Description |
---|---|---|
Matcher<T> |
and(Matcher<? super T> other) |
Returns a new matcher which returns
true if both this and the
given matcher return true . |
Matcher<T> |
or(Matcher<? super T> other) |
Returns a new matcher which returns
true if either this or the
given matcher return true . |