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