Class CollectionAddFunction<V, C extends Collection<V>>
java.lang.Object
org.wildfly.clustering.cache.function.AbstractFunction<Collection<V>, C>
org.wildfly.clustering.cache.function.CollectionFunction<V,C>
org.wildfly.clustering.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>, Operation<Collection<V>>
- Direct Known Subclasses:
SetAddFunction
Function that adds one or more elements to a collection.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionCollectionAddFunction(Collection<V> values, Operations<C> operations) Constructs a new function that adds the specified elements to a collection. -
Method Summary
Methods inherited from class CollectionFunction
equals, hashCodeMethods inherited from class AbstractFunction
apply, getOperand, toStringMethods inherited from interface BiConsumer
andThenMethods inherited from interface BiFunction
andThen
-
Constructor Details
-
CollectionAddFunction
Constructs a new function that adds the specified elements to a collection.- Parameters:
values- the elements to be added to the collectionoperations- the operations
-
-
Method Details
-
accept
-