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