Interface ThrowingTriConsumer<T,U,S,E extends Exception>

Type Parameters:
T - the apply methods first argument type
U - the apply methods second argument type
S - the apply methods third argument type
E - the exception type
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 ThrowingTriConsumer<T,U,S,E extends Exception>
This interface is similar to the java.util interface ThrowingBiConsumer. Difference is, that it allows to pass to the apply() method one more parameter.
  • Method Summary

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

    • accept

      void accept(T t, U u, S s) throws E
      Applies this function to the given arguments.
      Parameters:
      t - the first function argument
      u - the second function argument
      s - the third function argument
      Throws:
      E - on error