- Type Parameters:
R- Value returned by the function
- 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 interfaceRepresentation of a method in Java.static interfaceUFun.UFun2<R,T1, T2> Representation of a method in Java.static interfaceUFun.UFun3<R,T1, T2, T3> 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. -
Method Summary
-
Method Details
-
invoke
R invoke()Method that invokes the behavior of the function. This method takes the necessary parameters and returns the defined result.- Returns:
- function call result
-