- 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 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
Modifier and TypeMethodDescriptionvoidinvoke()Method that invokes the behavior of the function.
-
Method Details
-
invoke
void invoke()Method that invokes the behavior of the function. This method takes the necessary parameters.
-