Module aeonics.core
Package aeonics.util

Interface Functions.QuadriPredicate<A,​B,​C,​D>

  • Type Parameters:
    A - first argument type
    B - second argument type
    C - third argument type
    D - fourth argument type
    All Superinterfaces:
    Functions.BiPredicate<A,​B>, Functions.Predicate<A>, Functions.TriPredicate<A,​B,​C>
    Enclosing class:
    Functions
    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 static interface Functions.QuadriPredicate<A,​B,​C,​D>
    extends Functions.TriPredicate<A,​B,​C>
    Represents a predicate of four argument.
    • Method Detail

      • test

        default boolean test​(A a,
                             B b,
                             C c)
                      throws java.lang.Exception
        Description copied from interface: Functions.TriPredicate
        Evaluates this predicate on the given arguments.
        Specified by:
        test in interface Functions.TriPredicate<A,​B,​C>
        Parameters:
        a - the input argument
        b - the input argument
        c - the input argument
        Returns:
        true if the input arguments match the predicate
        Throws:
        java.lang.Exception - if an error happens
      • test

        boolean test​(A a,
                     B b,
                     C c,
                     D d)
              throws java.lang.Exception
        Evaluates this predicate on the given arguments.
        Parameters:
        a - the input argument
        b - the input argument
        c - the input argument
        d - the input argument
        Returns:
        true if the input arguments match the predicate
        Throws:
        java.lang.Exception - if an error happens