Class SetRemoveFunction<V>
java.lang.Object
org.wildfly.clustering.cache.function.AbstractFunction<Collection<V>, Set<V>>
org.wildfly.clustering.cache.function.CollectionFunction<V,Set<V>>
org.wildfly.clustering.cache.function.CollectionRemoveFunction<V,Set<V>>
org.wildfly.clustering.cache.function.SetRemoveFunction<V>
- Type Parameters:
V- the set element type
- All Implemented Interfaces:
BiConsumer<Set<V>, Collection<V>>, BiFunction<Object,Set<V>, Set<V>>, Operation<Collection<V>>
- Direct Known Subclasses:
AddressSetRemoveFunction
Function that removes one or more elements from a set.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionSetRemoveFunction(Collection<V> values) Constructs a new function that removes the specified elements from a set.SetRemoveFunction(V value) Constructs a new function that removes the specified element from a set. -
Method Summary
Methods inherited from class CollectionRemoveFunction
acceptMethods 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
-
SetRemoveFunction
Constructs a new function that removes the specified element from a set.- Parameters:
value- the value to be removed from the set
-
SetRemoveFunction
Constructs a new function that removes the specified elements from a set.- Parameters:
values- the values to be removed from the set
-