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