Class MapPutFunction<K,V>

Type Parameters:
K - the map key type
V - the map value type
All Implemented Interfaces:
BiConsumer<Map<K,V>,Map<K,V>>, BiFunction<Object,Map<K,V>,Map<K,V>>, Operation<Map<K,V>>

public class MapPutFunction<K,V> extends MapComputeFunction<K,V>
Function that puts an entry into a map.
Author:
Paul Ferraro
  • Constructor Details

    • MapPutFunction

      public MapPutFunction(K key, V value)
      Constructs a new map put operation using the specified key and value.
      Parameters:
      key - a map key
      value - a map value