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