Package org.apache.commons.functor
Interface UnaryFunction<A,T>
-
- Type Parameters:
A- the argument type.T- the returned value type.
- All Superinterfaces:
Functor,UnaryFunctor<A>
- All Known Implementing Classes:
BinaryFunctionUnaryFunction,CollectionTransformer,CompositeUnaryFunction,CompositeUnaryFunction.Helper,ConditionalUnaryFunction,Constant,FoldLeft,FoldRight,FunctionUnaryFunction,Identity,LeftBoundFunction,RightBoundFunction,Size,UnaryPredicateUnaryFunction,UnaryProcedureUnaryFunction
public interface UnaryFunction<A,T> extends UnaryFunctor<A>
A functor that takes one argument and returns anObjectvalue.Implementors are encouraged but not required to make their functors
Serializable.- Since:
- 1.0
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tevaluate(A obj)Evaluate this function.
-