java.lang.Object | +--org.apache.commons.collections.functors.NullIsTruePredicateAll Implemented Interfaces:
NullIsTruePredicate(Predicate predicate) Constructor that performs no validation. |
boolean | evaluate(Object object) Return true if the object equals null else call the decorated predicate. |
static Predicate | getInstance(Predicate predicate) Factory to create the null true predicate. |
public NullIsTruePredicate(Predicate predicate)
getInstance
if you want that.
public boolean evaluate(Object object)
public static Predicate getInstance(Predicate predicate)
- if the predicate is null