Interface Matcher<T>
- All Known Implementing Classes:
AbstractMatcher
public interface Matcher<T>
Returns
true or false for a given input.-
Method Summary
Modifier and TypeMethodDescriptionReturns a new matcher which returnstrueif both this and the given matcher returntrue.booleanReturnstrueif this matchest,falseotherwise.Returns a new matcher which returnstrueif either this or the given matcher returntrue.
-
Method Details
-
matches
Returnstrueif this matchest,falseotherwise. -
and
Returns a new matcher which returnstrueif both this and the given matcher returntrue. -
or
Returns a new matcher which returnstrueif either this or the given matcher returntrue.
-