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