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