Interface ToDoubleFunctionEx<T>

  • Type Parameters:
    T - the type of the input to the function
    All Superinterfaces:, java.util.function.ToDoubleFunction<T>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface ToDoubleFunctionEx<T>
    extends java.util.function.ToDoubleFunction<T>,
    Serializable variant of java.util.function.ToDoubleFunction which declares checked exception.
    • Method Detail

      • applyAsDoubleEx

        double applyAsDoubleEx​(T value)
                        throws java.lang.Exception
        Exception-declaring version of ToDoubleFunction.applyAsDouble(T).
        java.lang.Exception - in case of any exceptional case
      • applyAsDouble

        default double applyAsDouble​(T value)
        Specified by:
        applyAsDouble in interface java.util.function.ToDoubleFunction<T>