java.lang.Object
org.eclipse.collections.impl.block.procedure.MapCollectProcedure<T,K,V>
- All Implemented Interfaces:
Serializable
, Consumer<T>
, Procedure<T>
public final class MapCollectProcedure<T,K,V>
extends Object
implements Procedure<T>
MapCollectProcedure uses a Function to calculate the key for an object and puts the object with the key
into the specified Map.
- See Also:
-
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from interface org.eclipse.collections.api.block.procedure.Procedure
accept
-
Constructor Details
-
MapCollectProcedure
public MapCollectProcedure(Map<K,V> newMap,
Function<? super T,? extends K> newKeyFunction)
-
MapCollectProcedure
public MapCollectProcedure(Map<K,V> newMap,
Function<? super T,? extends K> newKeyFunction,
Function<? super T,? extends V> newValueFunction)
-