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