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