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