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