public interface UnsafeConsumer<E,T extends Throwable>
| Modifier and Type | Method and Description |
|---|---|
static <E> void |
accept(Collection<E> collection,
UnsafeConsumer<E,? super Throwable> unsafeConsumer) |
static <E,T extends Throwable> |
accept(Collection<E> collection,
UnsafeConsumer<E,T> unsafeConsumer,
Class<? extends T> throwableClass) |
void |
accept(E e) |
static <E> void accept(Collection<E> collection, UnsafeConsumer<E,? super Throwable> unsafeConsumer) throws Throwable
Throwablestatic <E,T extends Throwable> void accept(Collection<E> collection, UnsafeConsumer<E,T> unsafeConsumer, Class<? extends T> throwableClass) throws T extends Throwable
T extends Throwable