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