Interface ResultPredicate

  • All Superinterfaces:
    java.util.function.Predicate<Result>
    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 ResultPredicate
    extends java.util.function.Predicate<Result>
    Marker interface for a throw predicate.
    Author:
    Middleware Services
    • Method Detail

      • testAndThrow

        default void testAndThrow​(Result result)
                           throws LdapException
        Test a result and throw if the test succeeds.
        Parameters:
        result - input argument
        Throws:
        LdapException - if Predicate.test(Object) returns true