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