E - the Exception type that the operation may throw@FunctionalInterface public interface LongShortToDblE<E extends Exception>
(long, short) -> double.| Modifier and Type | Method and Description |
|---|---|
default ShortToDblE<E> |
bind(long l)
Binds
(l) to the beginning of this, returning a new function
of type (short) -> double. |
default NilToDblE<E> |
bind(long l,
short sh)
Binds
(l, sh) to this, returning a new function
of type () -> double. |
static <E extends Exception> |
bind(LongShortToDblE<E> f,
long l)
Binds
(l) to the beginning of f, returning a new function
of type (short) -> double. |
static <E extends Exception> |
bind(LongShortToDblE<E> f,
long l,
short sh)
Binds
(l, sh) to f, returning a new function
of type () -> double. |
double |
call(long l,
short sh)
Performs this operation.
|
static <E extends Exception> |
rbind(LongShortToDblE<E> f,
short sh)
Binds
(sh) to the end of f, returning a new function
of type (long) -> double. |
default LongToDblE<E> |
rbind(short sh)
Binds
(sh) to the end of this, returning a new function
of type (long) -> double. |
static <E extends Exception> ShortToDblE<E> bind(LongShortToDblE<E> f, long l)
(l) to the beginning of f, returning a new function
of type (short) -> double.E - the Exception type that the operation may throwf - the unbound functionl - argument 1(short sh) -> double that calls
f.call(l, sh) and returns the result.default ShortToDblE<E> bind(long l)
(l) to the beginning of this, returning a new function
of type (short) -> double.l - argument 1(short sh) -> double that calls
this.call(l, sh) and returns the result.static <E extends Exception> LongToDblE<E> rbind(LongShortToDblE<E> f, short sh)
(sh) to the end of f, returning a new function
of type (long) -> double.E - the Exception type that the operation may throwf - the unbound functionsh - argument 2(long l) -> double that calls
f.call(l, sh) and returns the result.default LongToDblE<E> rbind(short sh)
(sh) to the end of this, returning a new function
of type (long) -> double.sh - argument 2(long l) -> double that calls
this.call(l, sh) and returns the result.static <E extends Exception> NilToDblE<E> bind(LongShortToDblE<E> f, long l, short sh)
(l, sh) to f, returning a new function
of type () -> double.E - the Exception type that the operation may throwf - the unbound functionl - argument 1sh - argument 2() -> double that calls
f.call(l, sh) and returns the result.Copyright © 2014. All rights reserved.