Interface PredicateWithExceptions<T>

Type Parameters:
T - the type of the tested value

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