Class CollectionAddFunction<V,C extends Collection<V>>
- java.lang.Object
-
- org.wildfly.clustering.ee.cache.function.AbstractFunction<Collection<V>,C>
-
- org.wildfly.clustering.ee.cache.function.CollectionFunction<V,C>
-
- org.wildfly.clustering.ee.cache.function.CollectionAddFunction<V,C>
-
- Type Parameters:
V- the collection element typeC- the collection type
- All Implemented Interfaces:
BiConsumer<C,Collection<V>>,BiFunction<Object,C,C>
- Direct Known Subclasses:
SetAddFunction
public class CollectionAddFunction<V,C extends Collection<V>> extends CollectionFunction<V,C>
Function that adds an item to a collection.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description CollectionAddFunction(Collection<V> operand, Operations<C> operations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(C collection, Collection<V> operand)-
Methods inherited from class org.wildfly.clustering.ee.cache.function.CollectionFunction
equals, hashCode
-
Methods inherited from class org.wildfly.clustering.ee.cache.function.AbstractFunction
apply, getOperand, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Constructor Detail
-
CollectionAddFunction
public CollectionAddFunction(Collection<V> operand, Operations<C> operations)
-
-
Method Detail
-
accept
public void accept(C collection, Collection<V> operand)
-
-