public abstract interface IntFunction<R>
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Links  

Represents a function that accepts an int-valued argument and produces a result. This is the int-consuming primitive specialization for Function.

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

<R>    the type of the result of the function

See also:

Since:  1.8