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

public final Class CollectLongProcedure<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.LongFunction, org.eclipse.collections.api.block.procedure.Procedure, org.eclipse.collections.api.collection.primitive.MutableLongCollection

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.

Field Summary

Modifier and TypeField and Description
private final MutableLongCollection
private final LongFunction<? super T>
private static final long

Constructor Summary

AccessConstructor and Description
public
CollectLongProcedure(LongFunction<? super T> longFunction, MutableLongCollection targetCollection)

Method Summary

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

Field Detail

longCollectionback to summary
private final MutableLongCollection longCollection
longFunctionback to summary
private final LongFunction<? super T> longFunction
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

CollectLongProcedureback to summary
public CollectLongProcedure(LongFunction<? super T> longFunction, MutableLongCollection targetCollection)

Method Detail

getLongCollectionback to summary
public MutableLongCollection getLongCollection()
valueback to summary
public void value(T object)

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

Annotations
@Override