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