Interface ThrowingConsumer<T,E extends Exception>

Type Parameters:
T - parameter of the function
E - checked exception thrown by the function
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 ThrowingConsumer<T,E extends Exception>
Wrapper for a consumer throwing a checked exception to enable use in streams.