T
- Input type 1.U
- Input type 2.R
- Return type.E
- Thrown exception.@FunctionalInterface public interface FailableBiFunction<T,U,R,E extends Throwable>
BiFunction
that declares a Throwable
.Modifier and Type | Field and Description |
---|---|
static FailableBiFunction |
NOP
NOP singleton
|
Modifier and Type | Method and Description |
---|---|
default <V> FailableBiFunction<T,U,V,E> |
andThen(FailableFunction<? super R,? extends V,E> after)
Returns a composed
FailableBiFunction that like BiFunction.andThen(Function) . |
R |
apply(T input1,
U input2)
Applies this function.
|
static <T,U,R,E extends Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableBiFunction NOP
static <T,U,R,E extends Throwable> FailableBiFunction<T,U,R,E> nop()
T
- Consumed type 1.U
- Consumed type 2.R
- Return type.E
- Thrown exception.default <V> FailableBiFunction<T,U,V,E> andThen(FailableFunction<? super R,? extends V,E> after)
FailableBiFunction
that like BiFunction.andThen(Function)
.V
- the output type of the after
function, and of the composed function.after
- the operation to perform after this one.FailableBiFunction
that like BiFunction.andThen(Function)
.NullPointerException
- when after
is null.Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.