Top Description Fields Constructors Methods
org.eclipse.collections.impl.block.procedure.primitive

public final Class CollectShortProcedure<T>

extends Object
implements Procedure<T>
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.block.procedure.Procedure, java.io.Serializable, java.util.function.Consumer
Imports
org.eclipse.collections.api.block.function.primitive.ShortFunction, org.eclipse.collections.api.block.procedure.Procedure, org.eclipse.collections.api.collection.primitive.MutableShortCollection

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.

Field Summary

Modifier and TypeField and Description
private static final long
private final MutableShortCollection
private final ShortFunction<? super T>

Constructor Summary

AccessConstructor and Description
public
CollectShortProcedure(ShortFunction<? super T> shortFunction, MutableShortCollection targetCollection)

Method Summary

Modifier and TypeMethod and Description
public MutableShortCollection
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID
shortCollectionback to summary
private final MutableShortCollection shortCollection
shortFunctionback to summary
private final ShortFunction<? super T> shortFunction

Constructor Detail

CollectShortProcedureback to summary
public CollectShortProcedure(ShortFunction<? super T> shortFunction, MutableShortCollection targetCollection)

Method Detail

getShortCollectionback to summary
public MutableShortCollection getShortCollection()
valueback to summary
public void value(T object)

Implements org.eclipse.collections.api.block.procedure.Procedure.value.

Annotations
@Override