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