Interface CheckedConsumer<T,E extends Exception>
- All Superinterfaces:
Consumer<T>
- All Known Subinterfaces:
CheckedEolConsumer<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- Since:
- 1.6
- Author:
- Sina Madani
-
Method Summary
-
Method Details
-
accept
- Specified by:
acceptin interfaceConsumer<T>- Throws:
RuntimeException
-
acceptThrows
- Throws:
E
-