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