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