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