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