What is the purpose of ToIntFunction<T> functional interface in Java8?
It represents a function that produces an int-valued result.