@FunctionalInterface
public abstract interface Function<T, R>
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Links  

Represents a function that accepts one argument and produces a result.

This is a functional interface whose functional method is apply(Object).

Parameters:
<T>    the type of the input to the function
<R>    the type of the result of the function

Since:  1.8