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