Interface TriConsumer<T,U,V>

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 input arguments and returns no result. Functional interface similar to Consumer and BiConsumer.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T var1, U var2, V var3)
    Performs this operation on the given arguments.
    default TriConsumer<T,U,V>
    andThen(TriConsumer<? super T,? super U,? super V> after)
    Returns a composed TriConsumer that performs, in sequence, this operation followed by the after operation.
  • Method Details

    • accept

      void accept(T var1, U var2, V var3)
      Performs this operation on the given arguments.
    • andThen

      default TriConsumer<T,U,V> andThen(TriConsumer<? super T,? super U,? super V> after)
      Returns a composed TriConsumer that performs, in sequence, this operation followed by the after operation.