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