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