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

public Interface FailableObjDoubleConsumer<T, E extends Throwable>

Annotations
@FunctionalInterface
Type Parameters
<T>
the type of the object argument to the operation.
<E>
The kind of thrown exception or error.
Imports
java.util.function.ObjDoubleConsumer

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

Field Summary

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

NOP singleton

Method Summary

Modifier and TypeMethod and Description
public void
accept(T
the object parameter for the consumable to accept.
object
,
double
the double parameter for the consumable to accept.
value
)

Accepts the given arguments.

public static <
the type of the object argument to the operation.
T
,
The kind of thrown exception or error.
E extends Throwable
>
FailableObjDoubleConsumer<T, E>

Returns:

The NOP singleton.
nop
()

Gets the NOP singleton.

Field Detail

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

NOP singleton

Annotations
@SuppressWarnings:rawtypes

Method Detail

acceptback to summary
public void accept(T object, double value) throws E

Accepts the given arguments.

Parameters
object:T

the object parameter for the consumable to accept.

value:double

the double parameter for the consumable to accept.

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

Gets the NOP singleton.

Parameters
<T>
the type of the object argument to the operation.
<E>
The kind of thrown exception or error.
Returns:FailableObjDoubleConsumer<T, E>

The NOP singleton.

Annotations
@SuppressWarnings:unchecked