Module aeonics.core
Package aeonics.util

Interface Functions.TriConsumer<A,​B,​C>

  • Type Parameters:
    A - first argument type
    B - second argument type
    C - third argument type
    All Superinterfaces:
    Functions.BiConsumer<A,​B>, Functions.Consumer<A>
    All Known Subinterfaces:
    Functions.QuadriConsumer<A,​B,​C,​D>
    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.TriConsumer<A,​B,​C>
    extends Functions.BiConsumer<A,​B>
    Represents an operation that accepts three input arguments and returns no result.
    • Method Detail

      • accept

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

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