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