Module aeonics.core
Package aeonics.util

Interface Functions.QuadriConsumer<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.BiConsumer<A,​B>, Functions.Consumer<A>, Functions.TriConsumer<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.QuadriConsumer<A,​B,​C,​D>
    extends Functions.TriConsumer<A,​B,​C>
    Represents an operation that accepts four input arguments and returns no result.
    • Method Detail

      • accept

        default void accept​(A a,
                            B b,
                            C c)
                     throws java.lang.Exception
        Description copied from interface: Functions.TriConsumer
        Performs this operation on the given arguments.
        Specified by:
        accept in interface Functions.TriConsumer<A,​B,​C>
        Parameters:
        a - the input argument
        b - the input argument
        c - the input argument
        Throws:
        java.lang.Exception - if an error happens
      • accept

        void accept​(A a,
                    B b,
                    C c,
                    D d)
             throws java.lang.Exception
        Performs this operation on the given arguments.
        Parameters:
        a - the input argument
        b - the input argument
        c - the input argument
        d - the input argument
        Throws:
        java.lang.Exception - if an error happens