Module aeonics.core
Package aeonics.util

Interface Functions.QuadriFunction<A,​B,​C,​D,​R>

  • Type Parameters:
    A - first argument type
    B - second argument type
    C - third argument type
    D - fourth argument type
    R - the return type
    All Superinterfaces:
    Functions.BiFunction<A,​B,​R>, Functions.Function<A,​R>, Functions.TriFunction<A,​B,​C,​R>
    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.QuadriFunction<A,​B,​C,​D,​R>
    extends Functions.TriFunction<A,​B,​C,​R>
    Represents a function that accepts four arguments and produces a result.
    • Method Detail

      • apply

        default R apply​(A a,
                        B b,
                        C c)
                 throws java.lang.Exception
        Description copied from interface: Functions.TriFunction
        Applies this function to the given arguments.
        Specified by:
        apply in interface Functions.TriFunction<A,​B,​C,​D>
        Parameters:
        a - the input argument
        b - the input argument
        c - the input argument
        Returns:
        the return value
        Throws:
        java.lang.Exception - if an error happens
      • apply

        R apply​(A a,
                B b,
                C c,
                D d)
         throws java.lang.Exception
        Applies this function to the given arguments.
        Parameters:
        a - the input argument
        b - the input argument
        c - the input argument
        d - the input argument
        Returns:
        the return value
        Throws:
        java.lang.Exception - if an error happens