|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Predicate
Interface for object predicates, i.e. functions that evaluate a given object to a boolean value.
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(Object object)
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(Object object)
object
- some object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |