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