Interface TriConsumer<T,​U,​V>

  • Type Parameters:
    T - the type of the first argument to the consumer
    U - the type of the second argument to the consumer
    V - the type of the third argument to the consumer
    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 a consumer that accepts three arguments. This is the three-arity specialization of Consumer.
    See Also:
    Consumer
    • Method Detail

      • accept

        void accept​(T t,
                    U u,
                    V v)
        Performs this operation on the given argument.
        Parameters:
        t - the first consumer argument
        u - the second consumer argument
        v - the third consumer argument