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