Class CollectionFunction<V,C extends Collection<V>>
- java.lang.Object
-
- org.wildfly.clustering.ee.cache.function.AbstractFunction<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,V>,BiFunction<Object,C,C>
- Direct Known Subclasses:
CollectionAddFunction,CollectionRemoveFunction
public abstract class CollectionFunction<V,C extends Collection<V>> extends AbstractFunction<V,C>
Function that operates on a collection.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description CollectionFunction(V operand, UnaryOperator<C> copier, Supplier<C> factory)
-
Method Summary
-
Methods inherited from class org.wildfly.clustering.ee.cache.function.AbstractFunction
apply, getOperand
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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(V operand, UnaryOperator<C> copier, Supplier<C> factory)
-
-