Interface BiPredicateWithException<T,​U>

  • Type Parameters:
    T - the type of the first argument
    U - the type of the second argument
    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 BiPredicateWithException<T,​U>
    Deprecated.
    BiPredicate interface that allows exceptions.
    • Method Detail

      • test

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

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

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

        default java.util.function.BiPredicate<T,​U> orElseGet​(java.util.function.BooleanSupplier orElseGet)
        Deprecated.
      • asBiPredicate

        static <T,​U> java.util.function.BiPredicate<T,​U> asBiPredicate​(BiPredicateWithException<T,​U> unchecked)
        Deprecated.
      • asBiPredicateOrElse

        static <T,​U> java.util.function.BiPredicate<T,​U> asBiPredicateOrElse​(BiPredicateWithException<T,​U> unchecked,
                                                                                         boolean orElse)
        Deprecated.
      • asBiPredicateOrElseGet

        static <T,​U> java.util.function.BiPredicate<T,​U> asBiPredicateOrElseGet​(BiPredicateWithException<T,​U> unchecked,
                                                                                            java.util.function.BooleanSupplier orElseGet)
        Deprecated.