org.apache.commons.collections.functors
public final class NullPredicate extends Object implements Predicate, Serializable
Since: Commons Collections 3.0
Version: $Revision: 646777 $ $Date: 2008-04-10 13:33:15 +0100 (Thu, 10 Apr 2008) $
Field Summary | |
---|---|
static Predicate | INSTANCE Singleton predicate instance |
Method Summary | |
---|---|
boolean | evaluate(Object object)
Evaluates the predicate returning true if the input is null.
|
static Predicate | getInstance()
Factory returning the singleton instance.
|
Parameters: object the input object
Returns: true if input is null
Returns: the singleton instance
Since: Commons Collections 3.1