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