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