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