What is the purpose of Function<T,R> functional interface in Java8?
It represents a function that accepts one argument and produces a result.