Class CollectionRemoveFunction<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.CollectionRemoveFunction<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:
SetRemoveFunction
Function that removes one or more elements from a collection.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionCollectionRemoveFunction(Collection<V> values, Operations<C> operations) Constructs a new function that removes the specified elements from 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
-
CollectionRemoveFunction
Constructs a new function that removes the specified elements from a collection.- Parameters:
values- the elements to be removed from the collectionoperations- the operations
-
-
Method Details
-
accept
-