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