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