org.apache.commons.collections.functors
Class NullPredicate
java.lang.Object
org.apache.commons.collections.functors.NullPredicate
- Predicate, Serializable
public final class NullPredicate
extends java.lang.Object
Predicate implementation that returns true if the input is null.
$Revision: 1.6 $ $Date: 2004/05/16 11:16:01 $
boolean | evaluate(Object object) - Evaluates the predicate returning true if the input is 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 input is null.
- evaluate in interface Predicate
object
- the input object
getInstance
public static Predicate getInstance()
Factory returning the singleton instance.
Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.