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