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