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