Package org.apache.commons.functor
Interface Function<T>
- Type Parameters:
T- the returned value type.
- All Superinterfaces:
Functor,NullaryFunctor
- All Known Implementing Classes:
BoundFunction,ConditionalFunction,Constant,FullyBoundFunction,PredicateFunction,ProcedureFunction,RecursiveEvaluation,TransformedFunction,TransformedFunction.Helper
A functor that takes no arguments and returns a value.
Implementors are encouraged but not required to make their functors
Serializable.
- Since:
- 1.0
- Version:
- $Revision$ $Date$
-
Method Summary
-
Method Details
-
evaluate
T evaluate()Evaluate this function.- Returns:
- the T result of this evaluation
-