Interface TriConsumer<T,​U,​V>

Type Parameters:
T - the first type consumer
U - the second type consumer
V - the third type 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>
Karma triple consumer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept​(T paramT, U paramU, V paramV)
    Accept the objects
    default TriConsumer<T,​U,​V>
    andThen​(TriConsumer<? super T,​? super U,​? super V> after)
    Do something after that consumer
  • Method Details

    • accept

      void accept(T paramT, U paramU, V paramV)
      Accept the objects
      Parameters:
      paramT - the first type
      paramU - the second type
      paramV - the third type
    • andThen

      default TriConsumer<T,​U,​V> andThen(TriConsumer<? super T,​? super U,​? super V> after)
      Do something after that consumer
      Parameters:
      after - the next consumer
      Returns:
      a new consumer