Interface PredicateWithExceptions1<T,E extends Throwable>

Type Parameters:
T - the type of the tested value
E - the type of the exceptions

public interface PredicateWithExceptions1<T,E 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 E
      Applies the test.
      Parameters:
      t - the argument to the test
      Returns:
      true if and only if the test is true for t
      Throws:
      E - any exception thrown by the test