U - the type of argument 2R - the type of the return valueE - the Exception type that the operation may throw@FunctionalInterface public interface ShortObjToObjE<U,R,E extends Exception>
(short, U) -> R.| Modifier and Type | Method and Description |
|---|---|
default ObjToObjE<U,R,E> |
bind(short sh)
Binds
(sh) to the beginning of this, returning a new function
of type (U) -> R. |
static <U,R,E extends Exception> |
bind(ShortObjToObjE<U,R,E> f,
short sh)
Binds
(sh) to the beginning of f, returning a new function
of type (U) -> R. |
static <U,R,E extends Exception> |
bind(ShortObjToObjE<U,R,E> f,
short sh,
U u)
Binds
(sh, u) to f, returning a new function
of type () -> R. |
default NilToObjE<R,E> |
bind(short sh,
U u)
Binds
(sh, u) to this, returning a new function
of type () -> R. |
R |
call(short sh,
U u)
Performs this operation.
|
static <U,R,E extends Exception> |
rbind(ShortObjToObjE<U,R,E> f,
U u)
Binds
(u) to the end of f, returning a new function
of type (short) -> R. |
default ShortToObjE<R,E> |
rbind(U u)
Binds
(u) to the end of this, returning a new function
of type (short) -> R. |
static <U,R,E extends Exception> ObjToObjE<U,R,E> bind(ShortObjToObjE<U,R,E> f, short sh)
(sh) to the beginning of f, returning a new function
of type (U) -> R.U - the type of argument 2R - the type of the return valueE - the Exception type that the operation may throwf - the unbound functionsh - argument 1(U u) -> R that calls
f.call(sh, u) and returns the result.default ObjToObjE<U,R,E> bind(short sh)
(sh) to the beginning of this, returning a new function
of type (U) -> R.sh - argument 1(U u) -> R that calls
this.call(sh, u) and returns the result.static <U,R,E extends Exception> ShortToObjE<R,E> rbind(ShortObjToObjE<U,R,E> f, U u)
(u) to the end of f, returning a new function
of type (short) -> R.U - the type of argument 2R - the type of the return valueE - the Exception type that the operation may throwf - the unbound functionu - argument 2(short sh) -> R that calls
f.call(sh, u) and returns the result.default ShortToObjE<R,E> rbind(U u)
(u) to the end of this, returning a new function
of type (short) -> R.u - argument 2(short sh) -> R that calls
this.call(sh, u) and returns the result.static <U,R,E extends Exception> NilToObjE<R,E> bind(ShortObjToObjE<U,R,E> f, short sh, U u)
(sh, u) to f, returning a new function
of type () -> R.U - the type of argument 2R - the type of the return valueE - the Exception type that the operation may throwf - the unbound functionsh - argument 1u - argument 2() -> R that calls
f.call(sh, u) and returns the result.Copyright © 2014. All rights reserved.