java.lang.Object | +--org.apache.commons.collections.functors.InstanceofPredicateAll Implemented Interfaces:
InstanceofPredicate(Class type) Constructor that performs no validation. |
boolean | evaluate(Object object) Return the predicate result. |
static Predicate | getInstance(Class type) Factory to create the identity predicate. |
public InstanceofPredicate(Class type)
getInstance
if you want that.
public boolean evaluate(Object object)
public static Predicate getInstance(Class type)
- if the class is null