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