T
- the type of the item to acceptE
- the type of exception which may be thrownpublic interface ThrowingConsumer<T,E extends java.lang.Exception>
Consumer
but parameterized over an exception type which is allowed
to be thrown by accept(Object)
.Modifier and Type | Method and Description |
---|---|
void |
accept(T value) |