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