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