Package | Description |
---|---|
org.apache.commons.lang3.function |
Provides functional interfaces to complement those in
java.lang.function and utilities for working with Java
8 lambdas. |
Modifier and Type | Field and Description |
---|---|
static FailableBiConsumer |
FailableBiConsumer.NOP
NOP singleton
|
Modifier and Type | Method and Description |
---|---|
default FailableBiConsumer<T,U,E> |
FailableBiConsumer.andThen(FailableBiConsumer<? super T,? super U,E> after)
Returns a composed
FailableBiConsumer like BiConsumer.andThen(BiConsumer) . |
static <T,U,E extends Throwable> |
FailableBiConsumer.nop()
Returns The NOP singleton.
|
Modifier and Type | Method and Description |
---|---|
static <T,U,E extends Throwable> |
Failable.accept(FailableBiConsumer<T,U,E> consumer,
T object1,
U object2)
Consumes a consumer and rethrows any exception as a
RuntimeException . |
default FailableBiConsumer<T,U,E> |
FailableBiConsumer.andThen(FailableBiConsumer<? super T,? super U,E> after)
Returns a composed
FailableBiConsumer like BiConsumer.andThen(BiConsumer) . |
static <T,U> BiConsumer<T,U> |
Failable.asBiConsumer(FailableBiConsumer<T,U,?> consumer)
Converts the given
FailableBiConsumer into a standard BiConsumer . |
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.