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