Class CollectionFunction<V,C extends Collection<V>>
- java.lang.Object
-
- org.wildfly.clustering.ee.cache.function.AbstractFunction<Collection<V>,C>
-
- org.wildfly.clustering.ee.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 Constructor Description CollectionFunction(Collection<V> operand, Operations<C> operations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)inthashCode()-
Methods inherited from class org.wildfly.clustering.ee.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 Detail
-
CollectionFunction
public CollectionFunction(Collection<V> operand, Operations<C> operations)
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractFunction<Collection<V>,C extends Collection<V>>
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractFunction<Collection<V>,C extends Collection<V>>
-
-