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