Interface TriConsumer<S,​T,​U>

Type Parameters:
S - the type of the first argument
T - the type of the second argument
U - 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<S,​T,​U>
Represents an operation that accepts three arguments and returns no result.
  • Method Summary

    Modifier and Type Method Description
    void apply​(S s, T t, U u)
    Applies this function to the given arguments.
  • Method Details

    • apply

      void apply​(S s, T t, U u)
      Applies this function to the given arguments.
      Parameters:
      s - the first function argument
      t - the second function argument
      u - the third function argument