@FunctionalInterface
public interface CheckedDoubleToIntFunction
DoubleToIntFunction
that allows for checked exceptions.Modifier and Type | Method | Description |
---|---|---|
int |
applyAsInt(double value) |
Applies this function to the given argument.
|
static java.util.function.DoubleToIntFunction |
sneaky(CheckedDoubleToIntFunction function) |
|
static java.util.function.DoubleToIntFunction |
unchecked(CheckedDoubleToIntFunction function) |
|
static java.util.function.DoubleToIntFunction |
unchecked(CheckedDoubleToIntFunction function,
java.util.function.Consumer<java.lang.Throwable> handler) |
int applyAsInt(double value) throws java.lang.Throwable
value
- the function argumentjava.lang.Throwable
static java.util.function.DoubleToIntFunction sneaky(CheckedDoubleToIntFunction function)
static java.util.function.DoubleToIntFunction unchecked(CheckedDoubleToIntFunction function)
static java.util.function.DoubleToIntFunction unchecked(CheckedDoubleToIntFunction function, java.util.function.Consumer<java.lang.Throwable> handler)
Copyright © 2018. All rights reserved.