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