Interface ThrowingBiConsumer<T,U>
- Type Parameters:
T
- first inputU
- second input
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Like
BiConsumer<T, U>
but allows checked exceptions.-
Method Summary
-
Method Details
-
accept
Performs the action.- Parameters:
t
- first valueu
- second value- Throws:
Exception
- if any error occurs
-