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