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