| 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 |
IntToDbl
An operation of type
(int) -> double. |
| Modifier and Type | Method and Description |
|---|---|
static <E extends Exception> |
IntToDbl.unchecked(Function<? super E,RuntimeException> toRuntime,
IntToDblE<E> f)
Returns a wrapped version of
f that uses toRuntime to convert any checked
Exception to a RuntimeException. |
static <E extends Exception> |
IntToDbl.unchecked(IntToDblE<E> f)
Returns a wrapped version of
f that wraps any checked Exception with a
RuntimeException. |
static <E extends IOException> |
IntToDbl.uncheckedIO(IntToDblE<E> f)
|
| Modifier and Type | Method and Description |
|---|---|
static <E extends Exception> |
IntToDblE.bind(IntToDblE<E> f,
int i)
Binds
(i) to f, returning a new function
of type () -> double. |
Copyright © 2015. All rights reserved.