| Package | Description |
|---|---|
| net.mintern.functions.binary |
Provides
@FunctionalInterfaces for 2-argument
operations. |
| Modifier and Type | Method and Description |
|---|---|
static <E extends Exception> |
ShortShortToLong.unchecked(Function<? super E,RuntimeException> toRuntime,
ShortShortToLongE<E> f)
Returns a wrapped version of
f that uses toRuntime to convert any checked
Exception to a RuntimeException. |
static <E extends Exception> |
ShortShortToLong.unchecked(ShortShortToLongE<E> f)
Returns a wrapped version of
f that wraps any checked Exception with a
RuntimeException. |
static <E extends IOException> |
ShortShortToLong.uncheckedIO(ShortShortToLongE<E> f)
|
| Modifier and Type | Method and Description |
|---|---|
static ShortToLong |
ShortShortToLong.bind(ShortShortToLong f,
short sh1)
Binds
(sh1) to the beginning of f, returning a new function
of type (short) -> long. |
static NilToLong |
ShortShortToLong.bind(ShortShortToLong f,
short sh1,
short sh2)
Binds
(sh1, sh2) to f, returning a new function
of type () -> long. |
static ShortToLong |
ShortShortToLong.rbind(ShortShortToLong f,
short sh2)
Binds
(sh2) to the end of f, returning a new function
of type (short) -> long. |
Copyright © 2014. All rights reserved.