Interface PredicateWithExceptions4<T,E1 extends Throwable,E2 extends Throwable,E3 extends Throwable,E4 extends Throwable>

Type Parameters:
T - the type of the tested value
E1 - the first type of exceptions
E2 - the second type of exceptions
E3 - the third type of exceptions
E4 - the fourth type of exceptions

public interface PredicateWithExceptions4<T,E1 extends Throwable,E2 extends Throwable,E3 extends Throwable,E4 extends Throwable>
A predicate that might throw exceptions.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(T t)
    Applies the test.
  • Method Details

    • test

      boolean test(T t) throws E1, E2, E3, E4
      Applies the test.
      Parameters:
      t - the argument to the test
      Returns:
      true if and only if the test is true for t
      Throws:
      E1 - a first type of exceptions thrown by the test
      E2 - a second type of exceptions thrown by the test
      E3 - a third type of exceptions thrown by the test
      E4 - a fourth type of exceptions thrown by the test