Class FlatCollectProcedure<T,V>
java.lang.Object
org.eclipse.collections.impl.block.procedure.FlatCollectProcedure<T,V>
- All Implemented Interfaces:
Serializable
,Consumer<T>
,Procedure<T>
public final class FlatCollectProcedure<T,V> extends Object implements Procedure<T>
Applies a function to an object and adds the result to a target collection.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description FlatCollectProcedure(Function<? super T,? extends Iterable<V>> function, Collection<V> targetCollection)
-
Method Summary
Modifier and Type Method Description Collection<V>
getCollection()
void
value(T object)
-
Constructor Details
-
Method Details