Class MultimapKeyValuePutProcedure<T,K,V>
- java.lang.Object
-
- org.eclipse.collections.impl.block.procedure.MultimapKeyValuePutProcedure<T,K,V>
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.function.Consumer<T>
,Procedure<T>
public class MultimapKeyValuePutProcedure<T,K,V> extends java.lang.Object implements Procedure<T>
MultimapKeyValuePutProcedure uses two Functions to calculate the key and value for an object and puts the key and value into the specifiedMutableMultimap
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Function<? super T,? extends K>
keyFunction
private MutableMultimap<K,V>
mutableMultimap
private static long
serialVersionUID
private Function<? super T,? extends V>
valueFunction
-
Constructor Summary
Constructors Constructor Description MultimapKeyValuePutProcedure(MutableMultimap<K,V> mutableMultimap, Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
value(T each)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
mutableMultimap
private final MutableMultimap<K,V> mutableMultimap
-
-