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