Interface Predicate4<T1,T2,T3,T4>

Type Parameters:
T1 - The type of the first input to the predicate
T2 - The type of the second input to the predicate
T3 - The type of the third input to the predicate
T4 - The type of the fourth input 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 Predicate4<T1,T2,T3,T4>
Represents a predicate (boolean-valued function) of four arguments.
Author:
Ben Hale
  • Method Summary

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

    • test

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