| Package | Description |
|---|---|
| net.mintern.functions.unary |
Provides
@FunctionalInterfaces for 1-argument
operations. |
| net.mintern.functions.unary.checked |
Provides
@FunctionalInterfaces for 1-argument
operations that throw checked exceptions. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
LongToDbl
An operation of type
(long) -> double. |
| Modifier and Type | Method and Description |
|---|---|
static <E extends Exception> |
LongToDbl.unchecked(Function<? super E,RuntimeException> toRuntime,
LongToDblE<E> f)
Returns a wrapped version of
f that uses toRuntime to convert any checked
Exception to a RuntimeException. |
static <E extends Exception> |
LongToDbl.unchecked(LongToDblE<E> f)
Returns a wrapped version of
f that wraps any checked Exception with a
RuntimeException. |
static <E extends IOException> |
LongToDbl.uncheckedIO(LongToDblE<E> f)
|
| Modifier and Type | Method and Description |
|---|---|
static <E extends Exception> |
LongToDblE.bind(LongToDblE<E> f,
long l)
Binds
(l) to f, returning a new function
of type () -> double. |
Copyright © 2015. All rights reserved.