| 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 |
IntToLong
An operation of type
(int) -> long. |
| Modifier and Type | Method and Description |
|---|---|
static <E extends Exception> |
IntToLong.unchecked(Function<? super E,RuntimeException> toRuntime,
IntToLongE<E> f)
Returns a wrapped version of
f that uses toRuntime to convert any checked
Exception to a RuntimeException. |
static <E extends Exception> |
IntToLong.unchecked(IntToLongE<E> f)
Returns a wrapped version of
f that wraps any checked Exception with a
RuntimeException. |
static <E extends IOException> |
IntToLong.uncheckedIO(IntToLongE<E> f)
|
| Modifier and Type | Method and Description |
|---|---|
static <E extends Exception> |
IntToLongE.bind(IntToLongE<E> f,
int i)
Binds
(i) to f, returning a new function
of type () -> long. |
Copyright © 2015. All rights reserved.