Interface TriConsumer<T,​U,​V>

  • Type Parameters:
    T - the type of the first argument to the function
    U - the type of the second argument to the function
    V - the type of the third argument to the function
    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 TriConsumer<T,​U,​V>
    Represents an operation that accepts three arguments and returns no result. This is the three-arity specialization of Consumer.

    This is a functional interface whose functional method is accept(Object, Object, Object).

    See Also:
    Consumer
    • Method Detail

      • accept

        void accept​(@Nullable
                    T firstParam,
                    @Nullable
                    U secondParam,
                    @Nullable
                    V thirdParam)
        Performs operation on the given arguments.
        Parameters:
        firstParam - the first argument.
        secondParam - the second argument.
        thirdParam - the third argument.