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