Module hw06

Interface TriConsumer<T,​U,​V>

Type Parameters:
T - The type of the first argument
U - The type of the second argument
V - The type of the third argument
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>
A Consumer-type function that takes 3 inputs
Author:
swong
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept​(T t, U u, V v)
    Performs this operation on the given arguments.
  • Method Details

    • accept

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