|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Matcher<T>
Returns true
or false
for a given input.
Method Summary | |
---|---|
Matcher<T> |
and(Matcher<? super T> other)
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<T> |
or(Matcher<? super T> other)
Returns a new matcher which returns true if either this or the
given matcher return true . |
Method Detail |
---|
boolean matches(T t)
true
if this matches t
, false
otherwise.
Matcher<T> and(Matcher<? super T> other)
true
if both this and the
given matcher return true
.
Matcher<T> or(Matcher<? super T> other)
true
if either this or the
given matcher return true
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |