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