Interface CheckedConsumer<T,E extends Exception>

Type Parameters:
T - the type of the input to the operation
E - the type of the Exception 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 CheckedConsumer<T,E extends Exception>
Consumer which can throw a checked exception.
Author:
Michael Vorburger.ch
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T input)
     
  • Method Details

    • accept

      void accept(T input) throws E
      Throws:
      E extends Exception