Class CollectionFunction<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>
- 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:
CollectionAddFunction, CollectionRemoveFunction
public abstract class CollectionFunction<V, C extends Collection<V>>
extends AbstractFunction<Collection<V>, C>
Function that operates on a collection.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionCollectionFunction(Collection<V> operand, Operations<C> operations) Constructs a new collection operation function -
Method Summary
Methods inherited from class AbstractFunction
apply, getOperand, toStringMethods inherited from interface BiConsumer
accept, andThenMethods inherited from interface BiFunction
andThen
-
Constructor Details
-
CollectionFunction
Constructs a new collection operation function- Parameters:
operand- the operation operandoperations- the collection operations
-
-
Method Details
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractFunction<Collection<V>, C extends Collection<V>>
-
equals
- Overrides:
equalsin classAbstractFunction<Collection<V>, C extends Collection<V>>
-