Interface CheckedBiPredicate<T,​U,​E extends java.lang.Exception>

  • Type Parameters:
    T -
    U -
    E -
    All Superinterfaces:
    java.util.function.BiFunction<T,​U,​java.lang.Boolean>, java.util.function.BiPredicate<T,​U>, CheckedBiFunction<T,​U,​java.lang.Boolean,​E>
    All Known Subinterfaces:
    CheckedEolBiPredicate<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 CheckedBiPredicate<T,​U,​E extends java.lang.Exception>
    extends java.util.function.BiPredicate<T,​U>, CheckedBiFunction<T,​U,​java.lang.Boolean,​E>
    Since:
    1.6
    Author:
    Sina Madani
    • Method Detail

      • testThrows

        boolean testThrows​(T t,
                           U u)
                    throws E extends java.lang.Exception
        Throws:
        E extends java.lang.Exception
      • applyThrows

        default java.lang.Boolean applyThrows​(T t,
                                              U u)
                                       throws E extends java.lang.Exception
        Specified by:
        applyThrows in interface CheckedBiFunction<T,​U,​java.lang.Boolean,​E extends java.lang.Exception>
        Throws:
        E extends java.lang.Exception
      • test

        default boolean test​(T t,
                             U u)
        Specified by:
        test in interface java.util.function.BiPredicate<T,​U>