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 FailableBiFunction |
FailableBiFunction.NOP
NOP singleton
|
Modifier and Type | Method and Description |
---|---|
default <V> FailableBiFunction<T,U,V,E> |
FailableBiFunction.andThen(FailableFunction<? super R,? extends V,E> after)
Returns a composed
FailableBiFunction that like BiFunction.andThen(Function) . |
static <T,U,R,E extends Throwable> |
FailableBiFunction.nop()
Returns The NOP singleton.
|
Modifier and Type | Method and Description |
---|---|
static <T,U,R,E extends Throwable> |
Failable.apply(FailableBiFunction<T,U,R,E> function,
T input1,
U input2)
Applies a function and rethrows any exception as a
RuntimeException . |
static <T,U,R> BiFunction<T,U,R> |
Failable.asBiFunction(FailableBiFunction<T,U,R,?> function)
Converts the given
FailableBiFunction into a standard BiFunction . |
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.