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