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