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