Interface TriPredicate<T,U,V>

Type Parameters:
T - the type of the first argument to the predicate
U - the type of the second argument the predicate
V - the type of the third argument 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 TriPredicate<T,U,V>
Represents a predicate (boolean-valued function) of three arguments. This is the three-arity specialization of Predicate.

This is a functional interface whose functional method is test(Object, Object, Object).

Since:
15.0
See Also:
  • Method Summary

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

    • test

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