Class MultimapPutProcedure<K,V>
java.lang.Object
org.eclipse.collections.impl.block.procedure.MultimapPutProcedure<K,V>
- All Implemented Interfaces:
Serializable
,Consumer<V>
,Procedure<V>
MultimapPutProcedure uses a Function to calculate the key for an object and puts the object with the key
into the specified
MutableMultimap
.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMultimapPutProcedure
(MutableMultimap<K, V> multimap, Function<? super V, ? extends K> keyFunction) -
Method Summary
Modifier and TypeMethodDescriptionstatic <K,
V> MultimapPutProcedure<K, V> on
(MutableMultimap<K, V> multimap, Function<? super V, ? extends K> keyFunction) void
-
Constructor Details
-
MultimapPutProcedure
-
-
Method Details
-
on
public static <K,V> MultimapPutProcedure<K,V> on(MutableMultimap<K, V> multimap, Function<? super V, ? extends K> keyFunction) -
value
-