public interface Matcher<T>
true or
false for a given input.
| Modifier and Type | Method and Description |
|---|---|
Matcher |
and(Matcher
Returns a new matcher which returns
true if both this and the given matcher return
true.
|
boolean |
matches(T t)
Returns
true if this matches
t,
false otherwise.
|
Matcher |
or(Matcher
Returns a new matcher which returns
true if either this or the given matcher return
true.
|