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