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 typeV- the map value typeT- 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
Function that operates on a map.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionMapFunction(T operand, Operations<Map<K, V>> operations) Constructs a new map operation function -
Method Summary
Methods inherited from class AbstractFunction
apply, equals, getOperand, hashCode, toStringMethods inherited from interface BiConsumer
accept, andThenMethods inherited from interface BiFunction
andThen
-
Constructor Details
-
MapFunction
Constructs a new map operation function- Parameters:
operand- the operation operandoperations- the map operations
-