Interface ThrowingConsumer<T,E extends Exception>
- Type Parameters:
T
- parameter of the functionE
- 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.
Wrapper for a consumer throwing a checked exception to enable use in streams.
-
Method Summary
-
Method Details
-
accept
- Throws:
E
-
of
-