Interface Functions.FailableBiPredicate<O1,​O2,​T extends java.lang.Throwable>

  • Type Parameters:
    O1 - Predicate type 1.
    O2 - Predicate type 2.
    T - Thrown exception.
    Enclosing class:
    Functions
    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 static interface Functions.FailableBiPredicate<O1,​O2,​T extends java.lang.Throwable>
    Deprecated.
    A functional interface like BiPredicate that declares a Throwable.

    TODO for 4.0: Move to org.apache.commons.lang3.function.

    • Method Detail

      • test

        boolean test​(O1 object1,
                     O2 object2)
              throws T extends java.lang.Throwable
        Deprecated.
        Tests the predicate.
        Parameters:
        object1 - the first object to test the predicate on
        object2 - the second object to test the predicate on
        Returns:
        the predicate's evaluation
        Throws:
        T - if the predicate fails
        T extends java.lang.Throwable