L - the left argument type.R - the right argument type.public class TransformedBinaryProcedure<L,R> extends Object implements BinaryProcedure<L,R>, Serializable
| Constructor and Description |
|---|
TransformedBinaryProcedure(BinaryFunction<? super L,? super R,? extends X> function,
UnaryProcedure<? super X> procedure)
Create a new TransformedBinaryProcedure.
|
public TransformedBinaryProcedure(BinaryFunction<? super L,? super R,? extends X> function, UnaryProcedure<? super X> procedure)
X - the wrapped procedure argument.function - BinaryFunctionprocedure - UnaryProcedurepublic final void run(L left, R right)
run in interface BinaryProcedure<L,R>left - the L element of the ordered pair of argumentsright - the R element of the ordered pair of argumentspublic final boolean equals(TransformedBinaryProcedure<?,?> that)
this.that - instance to testCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.