|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Predicate<T>
Interface for predicates of type T, i.e. functions from T
to boolean.
| Field Summary | |
|---|---|
static Predicate |
FALSE
Constant predicate that returns false for all objects. |
static Predicate |
TRUE
Constant predicate that returns true for all objects. |
| Method Summary | |
|---|---|
boolean |
evaluate(T t)
Evaluates the predicate for the given object. |
| Field Detail |
|---|
static final Predicate TRUE
true for all objects.
static final Predicate FALSE
false for all objects.
| Method Detail |
|---|
boolean evaluate(T t)
t - some object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||