org.apache.commons.collections.functors
Class NotNullPredicate
java.lang.Object
org.apache.commons.collections.functors.NotNullPredicate
- Predicate, Serializable
public final class NotNullPredicate
extends java.lang.Object
Predicate implementation that returns true if the input is not null.
$Revision: 348444 $ $Date: 2005-11-23 14:06:56 +0000 (Wed, 23 Nov 2005) $
boolean | evaluate(Object object) - Evaluates the predicate returning true if the object does not equal null.
|
static Predicate | getInstance() - Factory returning the singleton instance.
|
INSTANCE
public static final Predicate INSTANCE
Singleton predicate instance
evaluate
public boolean evaluate(Object object)
Evaluates the predicate returning true if the object does not equal null.
- evaluate in interface Predicate
object
- the object to evaluate
getInstance
public static Predicate getInstance()
Factory returning the singleton instance.
Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.