Package io.github.toolfactory.jvm.util
Class FunctionAdapter<F,I,O>
java.lang.Object
io.github.toolfactory.jvm.util.FunctionAdapter<F,I,O>
- Direct Known Subclasses:
ConsulterSupplyFunction
,DeepConsulterSupplyFunction
public abstract class FunctionAdapter<F,I,O>
extends java.lang.Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FunctionAdapter()
FunctionAdapter(F function)
-
Method Summary
Modifier and Type Method Description abstract O
apply(I input)
F
getFunction()
FunctionAdapter<F,I,O>
setFunction(F function)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
function
-
-
Constructor Details
-
FunctionAdapter
public FunctionAdapter() -
FunctionAdapter
-
-
Method Details
-
setFunction
-
getFunction
-
apply
-