Package io.manebot.virtual
Class Transfer<C,S,E extends java.lang.Exception>
- java.lang.Object
-
- io.manebot.virtual.Transfer<C,S,E>
-
- All Implemented Interfaces:
ThrowingFunction<C,S,E>
,java.util.function.Function<C,S>
- Direct Known Subclasses:
SynchronousTransfer
public abstract class Transfer<C,S,E extends java.lang.Exception> extends java.lang.Object implements ThrowingFunction<C,S,E>
-
-
Constructor Summary
Constructors Constructor Description Transfer(ThrowingFunction<C,S,E> function)
-
Method Summary
Modifier and Type Method Description S
applyChecked(C c)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.manebot.lambda.ThrowingFunction
apply
-
-
-
-
Constructor Detail
-
Transfer
public Transfer(ThrowingFunction<C,S,E> function)
-
-
Method Detail
-
applyChecked
public S applyChecked(C c) throws E extends java.lang.Exception
- Specified by:
applyChecked
in interfaceThrowingFunction<C,S,E extends java.lang.Exception>
- Throws:
E extends java.lang.Exception
-
-