Interface BiFunctionWithException<T,​U,​R>

  • Type Parameters:
    T - the type 1 of the argument
    U - the type 2 of the argument
    R - the result type
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @Deprecated
    @FunctionalInterface
    public interface BiFunctionWithException<T,​U,​R>
    Deprecated.
    BiFunction interface that allows exceptions.
    • Method Detail

      • apply

        R apply​(T t,
                U u)
         throws java.lang.Exception
        Deprecated.
        Throws:
        java.lang.Exception
      • orElseThrow

        default java.util.function.BiFunction<T,​U,​R> orElseThrow()
        Deprecated.
      • orElse

        default java.util.function.BiFunction<T,​U,​R> orElse​(R orElse)
        Deprecated.
      • orElseGet

        default java.util.function.BiFunction<T,​U,​R> orElseGet​(java.util.function.Supplier<? extends R> orElseGet)
        Deprecated.
      • asBiFunction

        static <T,​U,​R> java.util.function.BiFunction<T,​U,​R> asBiFunction​(BiFunctionWithException<T,​U,​R> unchecked)
        Deprecated.
      • asBiFunctionOrElse

        static <T,​U,​R> java.util.function.BiFunction<T,​U,​R> asBiFunctionOrElse​(BiFunctionWithException<T,​U,​R> unchecked,
                                                                                                       R orElse)
        Deprecated.
      • asBiFunctionOrElseGet

        static <T,​U,​R> java.util.function.BiFunction<T,​U,​R> asBiFunctionOrElseGet​(BiFunctionWithException<T,​U,​R> unchecked,
                                                                                                          java.util.function.Supplier<? extends R> orElseGet)
        Deprecated.