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