Module ushiosan.jvm.utilities
Package ushiosan.jvm.function
Interface UFunErr<R,E extends Throwable>
- Type Parameters:
R- Value returned by the functionE- execution error
- All Known Subinterfaces:
UFunErrSafe<R,E>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Representation of a method in Java. Although called a function, it works very similar to a
method, and it is possible to reference one via referencing or lambda expressions.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceUFunErr.UFunErr1<R,T1, E extends Throwable> Representation of a method in Java.static interfaceRepresentation of a method in Java.static interfaceRepresentation of a method in Java.static interfaceRepresentation of a method in Java.static interfaceRepresentation of a method in Java.static interfaceRepresentation of a method in Java. -
Method Summary
-
Method Details
-
invoke
Method that invokes the behavior of the function. This method takes the necessary parameters and returns the defined result.- Returns:
- function call result
- Throws:
E- error if something goes wrong
-