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