@FunctionalInterface public interface CheckedDoubleFunction<R>
DoubleFunction that allows for checked exceptions.| Modifier and Type | Method and Description |
|---|---|
R |
apply(double value)
Applies this function to the given argument.
|
static <R> java.util.function.DoubleFunction<R> |
unchecked(CheckedDoubleFunction<R> function) |
static <R> java.util.function.DoubleFunction<R> |
unchecked(CheckedDoubleFunction<R> function,
java.util.function.Consumer<Throwable> handler) |
R apply(double value) throws Throwable
value - the function argumentThrowablestatic <R> java.util.function.DoubleFunction<R> unchecked(CheckedDoubleFunction<R> function)
Unchecked#doubleFunction(CheckedDoubleFunction)}static <R> java.util.function.DoubleFunction<R> unchecked(CheckedDoubleFunction<R> function, java.util.function.Consumer<Throwable> handler)
Unchecked#doubleFunction(CheckedDoubleFunction, Consumer)}Copyright © 2016. All Rights Reserved.