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