T
- Consumed type 1.U
- Consumed type 2.E
- Thrown exception.@FunctionalInterface public interface FailableBiConsumer<T,U,E extends 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 consumer.
|
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 Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableBiConsumer NOP
static <T,U,E extends Throwable> FailableBiConsumer<T,U,E> nop()
T
- Consumed type 1.U
- Consumed type 2.E
- Thrown exception.default 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)
.NullPointerException
- when after
is null.Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.