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>
- 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
Constructors -
Method Summary
Methods inherited from class org.wildfly.clustering.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
accept, andThen
Methods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
CollectionFunction
-
-
Method Details
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractFunction<Collection<V>,
C extends Collection<V>>
-
equals
- Overrides:
equals
in classAbstractFunction<Collection<V>,
C extends Collection<V>>
-