Interface BiPredicateEx<T,​U>

  • Type Parameters:
    T - the type of the first argument to the predicate
    U - the type of the second argument the predicate
    All Superinterfaces:
    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 BiPredicateEx<T,​U>
    extends java.util.function.BiPredicate<T,​U>,
    Serializable variant of java.util.function.BiPredicate which declares checked exception.
    • Method Detail

      • testEx

        boolean testEx​(T t,
                       U u)
                throws java.lang.Exception
        Exception-declaring version of BiPredicate.test(T, U).
        java.lang.Exception - in case of any exceptional case
      • test

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

        default BiPredicateEx<T,​U> and​(BiPredicateEx<? super T,​? super U> other)
        Serializable variant of java.util.function.BiPredicate#and(BiPredicate).
      • negate

        default BiPredicateEx<T,​U> negate()
        Serializable variant of java.util.function.BiPredicate#negate().
        Specified by:
        negate in interface java.util.function.BiPredicate<T,​U>
      • or

        default BiPredicateEx<T,​U> or​(BiPredicateEx<? super T,​? super U> other)
        Serializable variant of java.util.function.BiPredicate#or(BiPredicate).