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

public final Class FastListCollectProcedure<T, V>

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.Function, org.eclipse.collections.api.block.procedure.Procedure, org.eclipse.collections.impl.list.mutable.FastList

Applies a function to an object and adds the result to a target fastList.

Field Summary

Modifier and TypeField and Description
private final FastList<V>
private final Function<? super T, ? extends V>
private static final long

Constructor Summary

AccessConstructor and Description
public
FastListCollectProcedure(Function<? super T, ? extends V> function, FastList<V> targetCollection)

Method Summary

Modifier and TypeMethod and Description
public FastList<V>
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fastListback to summary
private final FastList<V> fastList
functionback to summary
private final Function<? super T, ? extends V> function
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

FastListCollectProcedureback to summary
public FastListCollectProcedure(Function<? super T, ? extends V> function, FastList<V> targetCollection)

Method Detail

getFastListback to summary
public FastList<V> getFastList()
valueback to summary
public void value(T object)

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

Annotations
@Override