UnsafeConsumer
@Deprecated
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)
Deprecated.
|
static <E,T extends Throwable> |
accept(Collection<E> collection,
UnsafeConsumer<E,T> unsafeConsumer,
Class<? extends T> throwableClass)
Deprecated.
|
void |
accept(E e)
Deprecated.
|
static <E> void accept(Collection<E> collection, UnsafeConsumer<E,? super Throwable> unsafeConsumer) throws Throwable
Throwable
static <E,T extends Throwable> void accept(Collection<E> collection, UnsafeConsumer<E,T> unsafeConsumer, Class<? extends T> throwableClass) throws T extends Throwable
T extends Throwable