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