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