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