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