Class AbstractFunction<T,O>
java.lang.Object
org.wildfly.clustering.cache.function.AbstractFunction<T,O>
- Type Parameters:
T
- the operand typeO
- the operable object type
- All Implemented Interfaces:
BiConsumer<O,
,T> BiFunction<Object,
O, O>
- Direct Known Subclasses:
CollectionFunction
,MapFunction
public abstract class AbstractFunction<T,O>
extends Object
implements BiFunction<Object,O,O>, BiConsumer<O,T>
Function that operates on an operable object.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractFunction
(T operand, UnaryOperator<O> copier, Supplier<O> factory, Predicate<O> empty) -
Method Summary
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
-
AbstractFunction
-
-
Method Details
-
apply
-
getOperand
-
hashCode
-
equals
-
toString
-