Interface Predicate4<A,B,C,D>

Type Parameters:
A - the type of the first argument to the predicate
B - the type of the second argument to the predicate
C - the type of the third argument to the predicate
D - the type of the fourth 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 Predicate4<A,B,C,D>
Represents a predicate (boolean-valued function) of four arguments.

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

Since:
4.7.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(A a, B b, C c, D d)
    Evaluates this predicate on the given arguments.
  • Method Details

    • test

      boolean test(A a, B b, C c, D d)
      Evaluates this predicate on the given arguments.
      Parameters:
      a - the first input argument
      b - the second input argument
      c - the third input argument
      d - the fourth input argument
      Returns:
      true if the input arguments match the predicate, otherwise false