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