Interface CheckedToDoubleBiFunction<T,​U>

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface CheckedToDoubleBiFunction<T,​U>
    A ToDoubleBiFunction that allows for checked exceptions.
    • Method Detail

      • applyAsDouble

        double applyAsDouble​(T t,
                             U u)
                      throws java.lang.Throwable
        Applies this function to the given arguments.
        Parameters:
        t - the first function argument
        u - the second function argument
        Returns:
        the function result
        Throws:
        java.lang.Throwable
      • sneaky

        static <T,​U> java.util.function.ToDoubleBiFunction<T,​U> sneaky​(CheckedToDoubleBiFunction<T,​U> function)
      • unchecked

        static <T,​U> java.util.function.ToDoubleBiFunction<T,​U> unchecked​(CheckedToDoubleBiFunction<T,​U> function)
      • unchecked

        static <T,​U> java.util.function.ToDoubleBiFunction<T,​U> unchecked​(CheckedToDoubleBiFunction<T,​U> function,
                                                                                      java.util.function.Consumer<java.lang.Throwable> handler)