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

public final Class FlatCollectProcedure<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
java.util.Collection, org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.block.procedure.Procedure, org.eclipse.collections.impl.utility.Iterate

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

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
FlatCollectProcedure(Function<? super T, ? extends Iterable<V>> function, Collection<V> targetCollection)

Method Summary

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

Field Detail

collectionback to summary
private final Collection<V> collection
functionback to summary
private final Function<? super T, ? extends Iterable<V>> function
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

FlatCollectProcedureback to summary
public FlatCollectProcedure(Function<? super T, ? extends Iterable<V>> function, Collection<V> targetCollection)

Method Detail

getCollectionback to summary
public Collection<V> getCollection()
valueback to summary
public void value(T object)

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

Annotations
@Override