Interface Predicate3<T1,T2,V>

Type Parameters:
T1 - the type of the first argument to the predicate
T2 - the type of the second argument to the predicate
V - the type of the third argument to the predicate
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 Predicate3<T1,T2,V>
Represents a predicate (boolean-valued function) of three arguments.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(T1 t1, T2 t2, V v)
    Evaluates this predicate on the given arguments.
  • Method Details

    • test

      boolean test(T1 t1, T2 t2, V v)
      Evaluates this predicate on the given arguments.
      Parameters:
      t1 - the first input argument
      t2 - the second input argument
      v - the third input argument
      Returns:
      true if the input arguments match the predicate, otherwise false