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