| com.bm.ejb3guice.matcher.Matcher
Matcher | public interface Matcher (Code) | | Returns
true or
false for a given input.
author: crazybob@google.com (Bob Lee) |
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 . |
and | Matcher<T> and(Matcher<? super T> other)(Code) | | Returns a new matcher which returns
true if both this and the
given matcher return
true .
|
matches | boolean matches(T t)(Code) | | Returns
true if this matches
t ,
false otherwise.
|
or | Matcher<T> or(Matcher<? super T> other)(Code) | | Returns a new matcher which returns
true if either this or the
given matcher return
true .
|
|
|