Class MultimapKeyValuePutProcedure<T,K,V>

All Implemented Interfaces:
Serializable, Consumer<T>, Procedure<T>

public class MultimapKeyValuePutProcedure<T,K,V> extends 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 specified MutableMultimap.
See Also:
  • Constructor Details

    • MultimapKeyValuePutProcedure

      public MultimapKeyValuePutProcedure(MutableMultimap<K,V> mutableMultimap, Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
  • Method Details

    • value

      public void value(T each)
      Specified by:
      value in interface Procedure<T>