Class InjectIntoIntProcedure<T>
- java.lang.Object
-
- org.eclipse.collections.impl.block.procedure.primitive.InjectIntoIntProcedure<T>
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.function.Consumer<T>
,Procedure<T>
public class InjectIntoIntProcedure<T> extends java.lang.Object implements Procedure<T>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private IntObjectToIntFunction<? super T>
function
private int
result
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description InjectIntoIntProcedure(int injectedValue, IntObjectToIntFunction<? super T> function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getResult()
void
value(T each)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
result
private int result
-
function
private final IntObjectToIntFunction<? super T> function
-
-
Constructor Detail
-
InjectIntoIntProcedure
public InjectIntoIntProcedure(int injectedValue, IntObjectToIntFunction<? super T> function)
-
-