@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 DoubleToIntFunction |
sneaky(CheckedDoubleToIntFunction function) |
|
static DoubleToIntFunction |
unchecked(CheckedDoubleToIntFunction function) |
|
static DoubleToIntFunction |
unchecked(CheckedDoubleToIntFunction function,
Consumer<Throwable> handler) |
int applyAsInt(double value)
throws Throwable
value - the function argumentThrowablestatic DoubleToIntFunction sneaky(CheckedDoubleToIntFunction function)
static DoubleToIntFunction unchecked(CheckedDoubleToIntFunction function)
static DoubleToIntFunction unchecked(CheckedDoubleToIntFunction function, Consumer<Throwable> handler)
Copyright © 2018. All rights reserved.