T - Consumed type 1.U - Consumed type 2.E - The kind of thrown exception or error.@FunctionalInterface
public interface FailableBiConsumer<T,U,E extends java.lang.Throwable>
BiConsumer that declares a Throwable.| Modifier and Type | Field and Description |
|---|---|
static FailableBiConsumer |
NOP
NOP singleton
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t,
U u)
Accepts the given arguments.
|
default FailableBiConsumer<T,U,E> |
andThen(FailableBiConsumer<? super T,? super U,E> after)
Returns a composed
FailableBiConsumer like BiConsumer.andThen(BiConsumer). |
static <T,U,E extends java.lang.Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableBiConsumer NOP
static <T,U,E extends java.lang.Throwable> FailableBiConsumer<T,U,E> nop()
T - Consumed type 1.U - Consumed type 2.E - The kind of thrown exception or error.void accept(T t, U u) throws E extends java.lang.Throwable
t - the first parameter for the consumable to acceptu - the second parameter for the consumable to acceptE - Thrown when the consumer fails.E extends java.lang.Throwabledefault FailableBiConsumer<T,U,E> andThen(FailableBiConsumer<? super T,? super U,E> after)
FailableBiConsumer like BiConsumer.andThen(BiConsumer).after - the operation to perform after this one.FailableBiConsumer like BiConsumer.andThen(BiConsumer).java.lang.NullPointerException - when after is null.Copyright © 2010 - 2023 Adobe. All Rights Reserved