L - the left argument type.R - the right argument type.T - the returned value type.public class TransformedBinaryFunction<L,R,T> extends Object implements BinaryFunction<L,R,T>, Serializable
| Constructor and Description |
|---|
TransformedBinaryFunction(BinaryFunction<? super L,? super R,? extends X> preceding,
UnaryFunction<? super X,? extends T> following)
Create a new TransformedBinaryFunction.
|
public TransformedBinaryFunction(BinaryFunction<? super L,? super R,? extends X> preceding, UnaryFunction<? super X,? extends T> following)
X - the following function left argument.preceding - BinaryFunctionfollowing - UnaryFunctionpublic final T evaluate(L left, R right)
evaluate in interface BinaryFunction<L,R,T>left - the L element of the ordered pair of argumentsright - the R element of the ordered pair of argumentspublic final boolean equals(TransformedBinaryFunction<?,?,?> that)
this.that - instance to testCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.