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