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