R - the type of the result of the function
@FunctionalInterface public interface DoubleFunction<R>
double-consuming primitive specialization for
Function.
This is a functional interface whose functional method is apply(double).
Function
R apply(double value)
value - the function argument