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