java.lang.Object | +--org.apache.commons.collections.functors.NullIsExceptionPredicateAll Implemented Interfaces:
NullIsExceptionPredicate(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 exception predicate. |
public NullIsExceptionPredicate(Predicate predicate)
getInstance
if you want that.
public boolean evaluate(Object object)
public static Predicate getInstance(Predicate predicate)
- if the predicate is null