Package org.apache.commons.functor
Interface UnaryPredicate<A>
- Type Parameters:
A- the argument type.
- All Superinterfaces:
Functor,UnaryFunctor<A>
- All Known Implementing Classes:
BaseUnaryPredicateList,BinaryPredicateUnaryPredicate,CompositeUnaryPredicate,ConditionalUnaryPredicate,Constant,Identity,IsEmpty,IsNotNull,IsNull,IsWithinRange,LeftBoundPredicate,Limit,Offset,PredicateUnaryPredicate,RightBoundPredicate,UnaryAnd,UnaryFunctionUnaryPredicate,UnaryNot,UnaryOr
A functor that takes one argument and returns a
boolean value.
Implementors are encouraged but not required to make their functors
Serializable.
- Since:
- 1.0
- Version:
- $Revision$ $Date$
-
Method Summary
-
Method Details
-
test
Evaluate this predicate.- Parameters:
obj- the A object to test- Returns:
- the result of this test
-