In Java 8, Function is a functional interface ; it takes an argument (object of type T) and returns an object (object of type R). The argument and output can be a different type.
In Java 8, Function is a functional interface ; it takes an argument (object of type T) and returns an object (object of type R). The argument and output can be a different type.