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