Top Description Fields Methods
org.apache.commons.lang3.function

public Interface FailableToDoubleBiFunction<T, U, E extends Throwable>

Annotations
@FunctionalInterface
Type Parameters
<T>
the type of the first argument to the function
<U>
the type of the second argument to the function
<E>
The kind of thrown exception or error.
Imports
java.util.function.ToDoubleBiFunction

A functional interface like ToDoubleBiFunction that declares a Throwable.
Since
3.11

Field Summary

Modifier and TypeField and Description
public static final FailableToDoubleBiFunction<T, U, E extends Throwable>
NOP

NOP singleton

Method Summary

Modifier and TypeMethod and Description
public double

Returns:

the function result
applyAsDouble
(T
the first function argument
t
,
U
the second function argument
u
)

Applies this function to the given arguments.

public static <
the type of the first argument to the function
T
,
the type of the second argument to the function
U
,
The kind of thrown exception or error.
E extends Throwable
>
FailableToDoubleBiFunction<T, U, E>

Returns:

The NOP singleton.
nop
()

Gets the NOP singleton.

Field Detail

NOPback to summary
public static final FailableToDoubleBiFunction<T, U, E extends Throwable> NOP

NOP singleton

Annotations
@SuppressWarnings:rawtypes

Method Detail

applyAsDoubleback to summary
public double applyAsDouble(T t, U u) throws E

Applies this function to the given arguments.

Parameters
t:T

the first function argument

u:U

the second function argument

Returns:double

the function result

Exceptions
E:
Thrown when the function fails.
nopback to summary
public static <T, U, E extends Throwable> FailableToDoubleBiFunction<T, U, E> nop()

Gets the NOP singleton.

Parameters
<T>
the type of the first argument to the function
<U>
the type of the second argument to the function
<E>
The kind of thrown exception or error.
Returns:FailableToDoubleBiFunction<T, U, E>

The NOP singleton.

Annotations
@SuppressWarnings:unchecked