Interface Functions.BiPredicate<T,U,E extends Exception>

Type Parameters:
T - The type of the first argument consumed
U - The type of the second argument consumed
E - The type of exception thrown
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.

@FunctionalInterface public static interface Functions.BiPredicate<T,U,E extends Exception>
A BiPredicate functional interface which can throw a checked Exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(T t, U u)
    Evaluates this predicate on the given arguments.
  • Method Details

    • test

      boolean test(T t, U u) throws E
      Evaluates this predicate on the given arguments.
      Parameters:
      t - the first input argument
      u - the second input argument
      Returns:
      true if the input arguments match the predicate, otherwise false
      Throws:
      E