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