Package org.apache.commons.functor
Interface BinaryFunction<L,R,T>
- Type Parameters:
L- the left argument type.R- the right argument type.T- the returned value type.
- All Superinterfaces:
BinaryFunctor<L,,R> Functor
- All Known Implementing Classes:
BinaryCompositeBinaryFunction,BinaryCompositeBinaryFunction.Helper,BinaryPredicateBinaryFunction,BinaryProcedureBinaryFunction,ComparatorFunction,ConditionalBinaryFunction,Constant,FindWithinGenerator,FoldLeft,FoldRight,IgnoreLeftFunction,IgnoreRightFunction,IndexOfInGenerator,Max,Min,TransformedBinaryFunction,TransformedBinaryFunction.Helper,TransposedFunction,UnaryCompositeBinaryFunction,UnaryCompositeBinaryFunction.Helper
A functor that takes two 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
Evaluate this function.- Parameters:
left- the L element of the ordered pair of argumentsright- the R element of the ordered pair of arguments- Returns:
- the T result of this function for the given arguments
-