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