Class TransformedBinaryProcedure.Helper<X,L,R>
- java.lang.Object
-
- org.apache.commons.functor.core.composite.TransformedBinaryProcedure.Helper<X,L,R>
-
- Type Parameters:
X- the wrapped procedure argument.
- All Implemented Interfaces:
java.io.Serializable,BinaryFunctor<L,R>,BinaryProcedure<L,R>,Functor
- Enclosing class:
- TransformedBinaryProcedure<L,R>
private static final class TransformedBinaryProcedure.Helper<X,L,R> extends java.lang.Object implements BinaryProcedure<L,R>, java.io.Serializable
Type-remembering helper.
-
-
Field Summary
Fields Modifier and Type Field Description private BinaryFunction<? super L,? super R,? extends X>functionThe wrapped function.private UnaryProcedure<? super X>procedureThe wrapped procedure.private static longserialVersionUIDserialVersionUID declaration.
-
Constructor Summary
Constructors Modifier Constructor Description privateHelper(BinaryFunction<? super L,? super R,? extends X> function, UnaryProcedure<? super X> procedure)Create a new Helper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun(L left, R right)Execute this procedure.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
serialVersionUID declaration.- See Also:
- Constant Field Values
-
function
private BinaryFunction<? super L,? super R,? extends X> function
The wrapped function.
-
procedure
private UnaryProcedure<? super X> procedure
The wrapped procedure.
-
-
Constructor Detail
-
Helper
private Helper(BinaryFunction<? super L,? super R,? extends X> function, UnaryProcedure<? super X> procedure)
Create a new Helper.- Parameters:
function- BinaryFunctionprocedure- UnaryFunction
-
-