org.apache.commons.collections.functors
public final class NotNullPredicate extends Object implements Predicate, Serializable
Since: Commons Collections 3.0
Version: $Revision: 348444 $ $Date: 2005-11-23 14:06:56 +0000 (Wed, 23 Nov 2005) $
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.
|
Parameters: object the object to evaluate
Returns: true if not null
Returns: the singleton instance
Since: Commons Collections 3.1