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