@FunctionalInterface public interface CheckedDoubleFunction<R>
DoubleFunction that allows for checked exceptions.| Modifier and Type | Method | Description |
|---|---|---|
R |
apply(double value) |
Applies this function to the given argument.
|
static <R> DoubleFunction<R> |
sneaky(CheckedDoubleFunction<R> function) |
|
static <R> DoubleFunction<R> |
unchecked(CheckedDoubleFunction<R> function) |
|
static <R> DoubleFunction<R> |
unchecked(CheckedDoubleFunction<R> function,
Consumer<Throwable> handler) |
R apply(double value) throws Throwable
value - the function argumentThrowablestatic <R> DoubleFunction<R> sneaky(CheckedDoubleFunction<R> function)
static <R> DoubleFunction<R> unchecked(CheckedDoubleFunction<R> function)
static <R> DoubleFunction<R> unchecked(CheckedDoubleFunction<R> function, Consumer<Throwable> handler)
Copyright © 2018. All rights reserved.