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