Interface ConsumerWithExceptions1<T,E extends Throwable>

Type Parameters:
T - the type of the consumed value
E - the type of exceptions

public interface ConsumerWithExceptions1<T,E extends Throwable>
A consumer that might throw exceptions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T t)
    Consumes the given argument.
  • Method Details

    • accept

      void accept(T t) throws E
      Consumes the given argument.
      Parameters:
      t - the argument
      Throws:
      E - any exception thrown by the consumer