|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.collections.functors.NotNullPredicate
Predicate implementation that returns true if the input is not null.
Field Summary | |
static Predicate |
INSTANCE
Singleton predicate instance |
Method Summary | |
boolean |
evaluate(Object object)
Evaluates the predicate returning true if the object does not equal null. |
static Predicate |
getInstance()
Factory returning the singleton instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Predicate INSTANCE
Method Detail |
public static Predicate getInstance()
public boolean evaluate(Object object)
evaluate
in interface Predicate
object
- the object to evaluate
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |