T
- the type of the first argument to the functionU
- the type of the second argument to the functionE
- The kind of thrown exception or error.@FunctionalInterface
public interface FailableToDoubleBiFunction<T,U,E extends java.lang.Throwable>
ToDoubleBiFunction
that declares a Throwable
.Modifier and Type | Field and Description |
---|---|
static FailableToDoubleBiFunction |
NOP
NOP singleton
|
Modifier and Type | Method and Description |
---|---|
double |
applyAsDouble(T t,
U u)
Applies this function to the given arguments.
|
static <T,U,E extends java.lang.Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableToDoubleBiFunction NOP
static <T,U,E extends java.lang.Throwable> FailableToDoubleBiFunction<T,U,E> nop()
T
- the type of the first argument to the functionU
- the type of the second argument to the functionE
- The kind of thrown exception or error.double applyAsDouble(T t, U u) throws E extends java.lang.Throwable
t
- the first function argumentu
- the second function argumentE
- Thrown when the function fails.E extends java.lang.Throwable
Copyright © 2010 - 2023 Adobe. All Rights Reserved