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