@FunctionalInterface public interface CheckedBiConsumer<T,U>
BiConsumer that allows for checked exceptions.| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t,
U u)
Performs this operation on the given arguments.
|
static <T,U> java.util.function.BiConsumer<T,U> |
unchecked(CheckedBiConsumer<T,U> consumer) |
static <T,U> java.util.function.BiConsumer<T,U> |
unchecked(CheckedBiConsumer<T,U> consumer,
java.util.function.Consumer<Throwable> handler) |
void accept(T t, U u) throws Throwable
t - the first input argumentu - the second input argumentThrowablestatic <T,U> java.util.function.BiConsumer<T,U> unchecked(CheckedBiConsumer<T,U> consumer)
Unchecked#biConsumer(CheckedBiConsumer)}static <T,U> java.util.function.BiConsumer<T,U> unchecked(CheckedBiConsumer<T,U> consumer, java.util.function.Consumer<Throwable> handler)
Unchecked#biConsumer(CheckedBiConsumer, Consumer)}Copyright © 2016. All Rights Reserved.