Class SetAddFunction<V>
- java.lang.Object
-
- org.wildfly.clustering.ee.cache.function.AbstractFunction<V,C>
-
- org.wildfly.clustering.ee.cache.function.CollectionFunction<V,C>
-
- org.wildfly.clustering.ee.cache.function.CollectionAddFunction<V,Set<V>>
-
- org.wildfly.clustering.ee.cache.function.SetAddFunction<V>
-
- Type Parameters:
V- the set element type
- All Implemented Interfaces:
BiConsumer<Set<V>,V>,BiFunction<Object,Set<V>,Set<V>>
- Direct Known Subclasses:
ConcurrentSetAddFunction,CopyOnWriteSetAddFunction
public class SetAddFunction<V> extends CollectionAddFunction<V,Set<V>>
Function that adds an item to a set.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description SetAddFunction(V value, Operations<Set<V>> operations)
-
Method Summary
-
Methods inherited from class org.wildfly.clustering.ee.cache.function.CollectionAddFunction
accept
-
Methods inherited from class org.wildfly.clustering.ee.cache.function.AbstractFunction
apply, getOperand
-
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
-
-
-
-
Constructor Detail
-
SetAddFunction
public SetAddFunction(V value, Operations<Set<V>> operations)
-
-