@FunctionalInterface public interface CheckedBiConsumer<T,U>
BiConsumer that allows for checked exceptions.| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(T t,
U u) |
Performs this operation on the given arguments.
|
static <T,U> BiConsumer<T,U> |
sneaky(CheckedBiConsumer<T,U> consumer) |
|
static <T,U> BiConsumer<T,U> |
unchecked(CheckedBiConsumer<T,U> consumer) |
|
static <T,U> BiConsumer<T,U> |
unchecked(CheckedBiConsumer<T,U> consumer,
Consumer<Throwable> handler) |
void accept(T t, U u) throws Throwable
t - the first input argumentu - the second input argumentThrowablestatic <T,U> BiConsumer<T,U> sneaky(CheckedBiConsumer<T,U> consumer)
static <T,U> BiConsumer<T,U> unchecked(CheckedBiConsumer<T,U> consumer)
static <T,U> BiConsumer<T,U> unchecked(CheckedBiConsumer<T,U> consumer, Consumer<Throwable> handler)
Copyright © 2018. All rights reserved.