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