Modifier and Type | Method and Description |
---|---|
default CheckedBiConsumer<T,U,E> |
CheckedBiConsumer.andThen(CheckedBiConsumer<? super T,? super U,? extends E> after)
|
Modifier and Type | Method and Description |
---|---|
static <T,U> void |
Exceptional.accept(CheckedBiConsumer<T,U,?> consumer,
T t,
U u)
Invokes
CheckedConsumer.accept(Object) catching any checked
Exception s rethrowing as unchecked. |
default CheckedBiConsumer<T,U,E> |
CheckedBiConsumer.andThen(CheckedBiConsumer<? super T,? super U,? extends E> after)
|
static <C extends AutoCloseable,U> |
Closing.closeAfterAccepting(C closeable,
U instance,
CheckedBiConsumer<C,U,?> consume)
Consumes both the
closeable and instance before closing. |
static <C extends AutoCloseable,T,U> |
Closing.closeAfterAccepting(CheckedFunction<T,C,?> create,
T t,
U instance,
CheckedBiConsumer<C,U,?> consume) |
default <R> R |
EmeticStream.collect(CheckedSupplier<R,?> supplier,
CheckedBiConsumer<R,? super T,?> accumulator,
CheckedBiConsumer<R,R,?> combiner) |
static <K,V> void |
Exceptional.forEach(Map<K,V> map,
CheckedBiConsumer<K,V,?> consumer)
Invokes the
Map.forEach(BiConsumer) method having unchecked the bi-consumer |
static <T,U> BiConsumer<T,U> |
Exceptional.uncheckBiConsumer(CheckedBiConsumer<T,U,?> consumer)
Convert a
CheckedBiConsumer into a BiConsumer . |
Copyright © 2016–2018 earcam. All rights reserved.