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