What is the purpose of IntFunction<R> functional interface in Java8?
It represents a function that accepts an int-valued argument and produces a result.