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