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