Class AbstractFunction<T,O>
- java.lang.Object
-
- org.wildfly.clustering.ee.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
Constructors Constructor Description AbstractFunction(T operand, UnaryOperator<O> copier, Supplier<O> factory, Predicate<O> empty)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Oapply(Object key, O operable)booleanequals(Object object)TgetOperand()inthashCode()StringtoString()-
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
-
-