Class NullPredicate
- java.lang.Object
-
- org.apache.commons.collections.functors.NullPredicate
-
- All Implemented Interfaces:
java.io.Serializable,Predicate
public final class NullPredicate extends java.lang.Object implements Predicate, java.io.Serializable
Predicate implementation that returns true if the input is null.- Since:
- Commons Collections 3.0
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate(java.lang.Object object)Evaluates the predicate returning true if the input is null.static PredicategetInstance()Factory returning the singleton instance.
-