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