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