Package io.inugami.api.functionnals
Interface FunctionWithException<I,O,E extends Throwable>
-
- Type Parameters:
I- the input typeO- the output typeE- the exception type (should extend from Throwable)
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface FunctionWithException<I,O,E extends Throwable>
When a generic function is used, it can throw an exception. To materialize this principle, the FunctionWithException is designed. You can specify the input, output and exception types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Oprocess(I input)
-