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