Interface Predicate5<A,​B,​C,​D,​E>

  • 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
    E - the type of the fifth 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 Predicate5<A,​B,​C,​D,​E>
    Represents a predicate (boolean-valued function) of five arguments.

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

    Since:
    4.7.0
    See Also:
    Predicate, BiPredicate
    • Method Detail

      • test

        boolean test​(A a,
                     B b,
                     C c,
                     D d,
                     E e)
        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
        e - the fifth input argument
        Returns:
        true if the input arguments match the predicate, otherwise false