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