L
- the function left argument type.R
- the function right argument type.T
- the function returned value type.public class BinaryCompositeBinaryFunction<L,R,T> extends Object implements BinaryFunction<L,R,T>
BinaryFunction
composed of
three binary functions, f, g and h,
evaluating the ordered parameters x, y
to f(g(x,y),h(x,y))
.Constructor and Description |
---|
BinaryCompositeBinaryFunction(BinaryFunction<? super G,? super H,? extends T> f,
BinaryFunction<? super L,? super R,? extends G> g,
BinaryFunction<? super L,? super R,? extends H> h)
Create a new BinaryCompositeBinaryFunction.
|
public BinaryCompositeBinaryFunction(BinaryFunction<? super G,? super H,? extends T> f, BinaryFunction<? super L,? super R,? extends G> g, BinaryFunction<? super L,? super R,? extends H> h)
G
- the main function left argument type.H
- the main function right argument type.f
- final BinaryFunction to evaluateg
- left preceding BinaryFunctionh
- right preceding BinaryFunctionpublic 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 argumentsCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.