R - the type of the return valueE - the Exception type that the operation may throw@FunctionalInterface public interface LongShortToObjE<R,E extends Exception>
(long, short) -> R.| Modifier and Type | Method and Description |
|---|---|
default ShortToObjE<R,E> |
bind(long l)
Binds
(l) to the beginning of this, returning a new function
of type (short) -> R. |
default NilToObjE<R,E> |
bind(long l,
short sh)
Binds
(l, sh) to this, returning a new function
of type () -> R. |
static <R,E extends Exception> |
bind(LongShortToObjE<R,E> f,
long l)
Binds
(l) to the beginning of f, returning a new function
of type (short) -> R. |
static <R,E extends Exception> |
bind(LongShortToObjE<R,E> f,
long l,
short sh)
Binds
(l, sh) to f, returning a new function
of type () -> R. |
R |
call(long l,
short sh)
Performs this operation.
|
static <R,E extends Exception> |
rbind(LongShortToObjE<R,E> f,
short sh)
Binds
(sh) to the end of f, returning a new function
of type (long) -> R. |
default LongToObjE<R,E> |
rbind(short sh)
Binds
(sh) to the end of this, returning a new function
of type (long) -> R. |
static <R,E extends Exception> ShortToObjE<R,E> bind(LongShortToObjE<R,E> f, long l)
(l) to the beginning of f, returning a new function
of type (short) -> R.R - the type of the return valueE - the Exception type that the operation may throwf - the unbound functionl - argument 1(short sh) -> R that calls
f.call(l, sh) and returns the result.default ShortToObjE<R,E> bind(long l)
(l) to the beginning of this, returning a new function
of type (short) -> R.l - argument 1(short sh) -> R that calls
this.call(l, sh) and returns the result.static <R,E extends Exception> LongToObjE<R,E> rbind(LongShortToObjE<R,E> f, short sh)
(sh) to the end of f, returning a new function
of type (long) -> R.R - the type of the return valueE - the Exception type that the operation may throwf - the unbound functionsh - argument 2(long l) -> R that calls
f.call(l, sh) and returns the result.default LongToObjE<R,E> rbind(short sh)
(sh) to the end of this, returning a new function
of type (long) -> R.sh - argument 2(long l) -> R that calls
this.call(l, sh) and returns the result.static <R,E extends Exception> NilToObjE<R,E> bind(LongShortToObjE<R,E> f, long l, short sh)
(l, sh) to f, returning a new function
of type () -> R.R - the type of the return valueE - the Exception type that the operation may throwf - the unbound functionl - argument 1sh - argument 2() -> R that calls
f.call(l, sh) and returns the result.Copyright © 2014. All rights reserved.