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