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