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