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