Interface Consumer4<T1,T2,T3,T4>

Type Parameters:
T1 - the type of the first argument to the operation
T2 - the type of the second argument to the operation
T3 - the type of the third argument to the operation
T4 - the type of the third argument to the operation
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 Consumer4<T1,T2,T3,T4>
Represents a consumer that accepts 4 arguments.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T1 t1, T2 t2, T3 t3, T4 t4)
    Applies this consumer to the given arguments.
  • Method Details

    • accept

      void accept(T1 t1, T2 t2, T3 t3, T4 t4)
      Applies this consumer to the given arguments.
      Parameters:
      t1 - the first function argument
      t2 - the second function argument
      t3 - the third function argument
      t4 - the fourth function argument