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