R - the type of the return valueE - the Exception type that the operation may throw@FunctionalInterface public interface ShortFloatToObjE<R,E extends Exception>
(short, float) -> R.| Modifier and Type | Method and Description |
|---|---|
default FloatToObjE<R,E> |
bind(short sh)
Binds
(sh) to the beginning of this, returning a new function
of type (float) -> R. |
default NilToObjE<R,E> |
bind(short sh,
float fl)
Binds
(sh, fl) to this, returning a new function
of type () -> R. |
static <R,E extends Exception> |
bind(ShortFloatToObjE<R,E> f,
short sh)
Binds
(sh) to the beginning of f, returning a new function
of type (float) -> R. |
static <R,E extends Exception> |
bind(ShortFloatToObjE<R,E> f,
short sh,
float fl)
Binds
(sh, fl) to f, returning a new function
of type () -> R. |
R |
call(short sh,
float fl)
Performs this operation.
|
default ShortToObjE<R,E> |
rbind(float fl)
Binds
(fl) to the end of this, returning a new function
of type (short) -> R. |
static <R,E extends Exception> |
rbind(ShortFloatToObjE<R,E> f,
float fl)
Binds
(fl) to the end of f, returning a new function
of type (short) -> R. |
static <R,E extends Exception> FloatToObjE<R,E> bind(ShortFloatToObjE<R,E> f, short sh)
(sh) to the beginning of f, returning a new function
of type (float) -> R.R - the type of the return valueE - the Exception type that the operation may throwf - the unbound functionsh - argument 1(float fl) -> R that calls
f.call(sh, fl) and returns the result.default FloatToObjE<R,E> bind(short sh)
(sh) to the beginning of this, returning a new function
of type (float) -> R.sh - argument 1(float fl) -> R that calls
this.call(sh, fl) and returns the result.static <R,E extends Exception> ShortToObjE<R,E> rbind(ShortFloatToObjE<R,E> f, float fl)
(fl) to the end of f, returning a new function
of type (short) -> R.R - the type of the return valueE - the Exception type that the operation may throwf - the unbound functionfl - argument 2(short sh) -> R that calls
f.call(sh, fl) and returns the result.default ShortToObjE<R,E> rbind(float fl)
(fl) to the end of this, returning a new function
of type (short) -> R.fl - argument 2(short sh) -> R that calls
this.call(sh, fl) and returns the result.static <R,E extends Exception> NilToObjE<R,E> bind(ShortFloatToObjE<R,E> f, short sh, float fl)
(sh, fl) to f, returning a new function
of type () -> R.R - the type of the return valueE - the Exception type that the operation may throwf - the unbound functionsh - argument 1fl - argument 2() -> R that calls
f.call(sh, fl) and returns the result.Copyright © 2014. All rights reserved.