Class CollectDoubleProcedure<T>
- java.lang.Object
-
- org.eclipse.collections.impl.block.procedure.primitive.CollectDoubleProcedure<T>
-
- All Implemented Interfaces:
java.io.Serializable,java.util.function.Consumer<T>,Procedure<T>
public final class CollectDoubleProcedure<T> extends java.lang.Object implements Procedure<T>
Applies a DoubleFunction to an object and adds the result to a target double collection. This file was automatically generated from template file CollectPrimitiveProcedure.stg.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private MutableDoubleCollectiondoubleCollectionprivate DoubleFunction<? super T>doubleFunctionprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description CollectDoubleProcedure(DoubleFunction<? super T> doubleFunction, MutableDoubleCollection targetCollection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableDoubleCollectiongetDoubleCollection()voidvalue(T object)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
doubleFunction
private final DoubleFunction<? super T> doubleFunction
-
doubleCollection
private final MutableDoubleCollection doubleCollection
-
-
Constructor Detail
-
CollectDoubleProcedure
public CollectDoubleProcedure(DoubleFunction<? super T> doubleFunction, MutableDoubleCollection targetCollection)
-
-
Method Detail
-
getDoubleCollection
public MutableDoubleCollection getDoubleCollection()
-
-