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