FailableDoubleSupplier

@FunctionalInterface public abstract interface org.apache.commons.lang3.function.FailableDoubleSupplier<E extends Throwable>[source]

A functional interface like DoubleSupplier that declares a Throwable.

Parameters:

<E> – The kind of thrown exception or error.

Since:

3.11

Methods

getAsDouble()

Gets a double.

public abstract double getAsDouble() throws E[source]

Gets a double.

Returns:

A result

Throws:

E – Thrown if the supplier fails.