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