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

public final Class CollectIntProcedure<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.IntFunction, org.eclipse.collections.api.block.procedure.Procedure, org.eclipse.collections.api.collection.primitive.MutableIntCollection

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.

Field Summary

Modifier and TypeField and Description
private final MutableIntCollection
private final IntFunction<? super T>
private static final long

Constructor Summary

AccessConstructor and Description
public
CollectIntProcedure(IntFunction<? super T> intFunction, MutableIntCollection targetCollection)

Method Summary

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

Field Detail

intCollectionback to summary
private final MutableIntCollection intCollection
intFunctionback to summary
private final IntFunction<? super T> intFunction
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

CollectIntProcedureback to summary
public CollectIntProcedure(IntFunction<? super T> intFunction, MutableIntCollection targetCollection)

Method Detail

getIntCollectionback to summary
public MutableIntCollection getIntCollection()
valueback to summary
public void value(T object)

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

Annotations
@Override