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