T
- the type of the argument to the functionE
- Thrown exception.@FunctionalInterface public interface FailableToDoubleFunction<T,E extends 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 Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableToDoubleFunction NOP
static <T,E extends Throwable> FailableToDoubleFunction<T,E> nop()
T
- the type of the argument to the functionE
- Thrown exception.Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.