Class TransformedProcedure.Helper<X>
- java.lang.Object
-
- org.apache.commons.functor.core.composite.TransformedProcedure.Helper<X>
-
- Type Parameters:
X- the adapted function argument type.
- All Implemented Interfaces:
java.io.Serializable,java.lang.Runnable,Functor,NullaryFunctor,Procedure
- Enclosing class:
- TransformedProcedure
private static final class TransformedProcedure.Helper<X> extends java.lang.Object implements Procedure, java.io.Serializable
Type-remembering helper.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<? extends X>functionThe adapted function.private UnaryProcedure<? super X>procedureThe adapted procedure.private static longserialVersionUIDserialVersionUID declaration.
-
Constructor Summary
Constructors Modifier Constructor Description privateHelper(Function<? 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()Execute this procedure.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
serialVersionUID declaration.- See Also:
- Constant Field Values
-
procedure
private UnaryProcedure<? super X> procedure
The adapted procedure.
-
-
Constructor Detail
-
Helper
private Helper(Function<? extends X> function, UnaryProcedure<? super X> procedure)
Create a new Helper.- Parameters:
function- Functionprocedure- UnaryFunction
-
-