Function interface in Java 8
The java.util.function.Function interface is a functional interface which represents a function that take one argument and return one output result. In this Java 8 tutorial we learn how to use the Function interface in Java program via different use cases.