Class MapFunction<K,V,T>

java.lang.Object
org.wildfly.clustering.cache.function.AbstractFunction<T,Map<K,V>>
org.wildfly.clustering.cache.function.MapFunction<K,V,T>
Type Parameters:
K - the map key type
V - the map value type
T - the function operand type
All Implemented Interfaces:
BiConsumer<Map<K,V>,T>, BiFunction<Object,Map<K,V>,Map<K,V>>, Operation<T>
Direct Known Subclasses:
MapComputeFunction

public abstract class MapFunction<K,V,T> extends AbstractFunction<T,Map<K,V>>
Function that operates on a map.
Author:
Paul Ferraro
  • Constructor Details

    • MapFunction

      public MapFunction(T operand, Operations<Map<K,V>> operations)
      Constructs a new map operation function
      Parameters:
      operand - the operation operand
      operations - the map operations