Class MapPutFunction<K,V>
- java.lang.Object
-
- org.wildfly.clustering.ee.cache.function.AbstractFunction<T,Map<K,V>>
-
- org.wildfly.clustering.ee.cache.function.MapFunction<K,V,Map.Entry<K,V>>
-
- org.wildfly.clustering.ee.cache.function.MapPutFunction<K,V>
-
- Type Parameters:
K- the map key typeV- the map value type
- All Implemented Interfaces:
BiConsumer<Map<K,V>,Map.Entry<K,V>>,BiFunction<Object,Map<K,V>,Map<K,V>>
- Direct Known Subclasses:
ConcurrentMapPutFunction,CopyOnWriteMapPutFunction
public class MapPutFunction<K,V> extends MapFunction<K,V,Map.Entry<K,V>>
Function that puts an entry into a map.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description MapPutFunction(Map.Entry<K,V> operand, Operations<Map<K,V>> operations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Map<K,V> map, Map.Entry<K,V> entry)Map.Entry<K,V>getOperand()-
Methods inherited from class org.wildfly.clustering.ee.cache.function.AbstractFunction
apply
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-