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