I have just begun to use Java 8 and I am wondering if there is a way to write a method that returns a Function?
Function
Right now I have method like below:
You could write it simply like that:
Function function = n -> "Hello, world " + n;