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