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