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