| Package | Description |
|---|---|
| net.mintern.functions.binary |
Provides
@FunctionalInterfaces for 2-argument
operations. |
| net.mintern.functions.binary.checked |
Provides
@FunctionalInterfaces for 2-argument
operations that throw checked exceptions. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ShortByteToByte
An operation of type
(short, byte) -> byte. |
| Modifier and Type | Method and Description |
|---|---|
static <E extends Exception> |
ShortByteToByte.unchecked(Function<? super E,RuntimeException> toRuntime,
ShortByteToByteE<E> f)
Returns a wrapped version of
f that uses toRuntime to convert any checked
Exception to a RuntimeException. |
static <E extends Exception> |
ShortByteToByte.unchecked(ShortByteToByteE<E> f)
Returns a wrapped version of
f that wraps any checked Exception with a
RuntimeException. |
static <E extends IOException> |
ShortByteToByte.uncheckedIO(ShortByteToByteE<E> f)
|
| Modifier and Type | Method and Description |
|---|---|
static <E extends Exception> |
ShortByteToByteE.bind(ShortByteToByteE<E> f,
short sh)
Binds
(sh) to the beginning of f, returning a new function
of type (byte) -> byte. |
static <E extends Exception> |
ShortByteToByteE.bind(ShortByteToByteE<E> f,
short sh,
byte b)
Binds
(sh, b) to f, returning a new function
of type () -> byte. |
static <E extends Exception> |
ShortByteToByteE.rbind(ShortByteToByteE<E> f,
byte b)
Binds
(b) to the end of f, returning a new function
of type (short) -> byte. |
Copyright © 2014. All rights reserved.