@FunctionalInterface public interface ByteDblToShort extends ByteDblToShortE<RuntimeException>
(byte, double) -> short.| Modifier and Type | Method and Description |
|---|---|
default DblToShort |
bind(byte b)
Binds
(b) to the beginning of this, returning a new function
of type (double) -> short. |
static DblToShort |
bind(ByteDblToShort f,
byte b)
Binds
(b) to the beginning of f, returning a new function
of type (double) -> short. |
static NilToShort |
bind(ByteDblToShort f,
byte b,
double d)
Binds
(b, d) to f, returning a new function
of type () -> short. |
default NilToShort |
bind(byte b,
double d)
Binds
(b, d) to this, returning a new function
of type () -> short. |
static ByteToShort |
rbind(ByteDblToShort f,
double d)
Binds
(d) to the end of f, returning a new function
of type (byte) -> short. |
default ByteToShort |
rbind(double d)
Binds
(d) to the end of this, returning a new function
of type (byte) -> short. |
static <E extends Exception> |
unchecked(ByteDblToShortE<E> f)
Returns a wrapped version of
f that wraps any checked Exception with a
RuntimeException. |
static <E extends Exception> |
unchecked(Function<? super E,RuntimeException> toRuntime,
ByteDblToShortE<E> f)
Returns a wrapped version of
f that uses toRuntime to convert any checked
Exception to a RuntimeException. |
static <E extends IOException> |
uncheckedIO(ByteDblToShortE<E> f)
|
bind, bind, call, rbindstatic <E extends Exception> ByteDblToShort unchecked(Function<? super E,RuntimeException> toRuntime, ByteDblToShortE<E> f)
f that uses toRuntime to convert any checked
Exception to a RuntimeException.E - the Exception type that the operation may throwtoRuntime - if a checked exception is thrown from
ByteDblToShortE.call(byte, double), then this function
is called in in order to convert it to a RuntimeExceptionf - the operation to wrapf that does not throw checked exceptionsstatic <E extends Exception> ByteDblToShort unchecked(ByteDblToShortE<E> f)
f that wraps any checked Exception with a
RuntimeException.E - the Exception type that the operation may throwf - the operation to wrapf that does not throw checked exceptionsstatic <E extends IOException> ByteDblToShort uncheckedIO(ByteDblToShortE<E> f)
E - the Exception type that the operation may throwf - the operation to wrapf that throws UncheckedIOException instead of
IOExceptionstatic DblToShort bind(ByteDblToShort f, byte b)
(b) to the beginning of f, returning a new function
of type (double) -> short.f - the unbound functionb - argument 1(double d) -> short that calls
f.call(b, d) and returns the result.default DblToShort bind(byte b)
(b) to the beginning of this, returning a new function
of type (double) -> short.bind in interface ByteDblToShortE<RuntimeException>b - argument 1(double d) -> short that calls
this.call(b, d) and returns the result.static ByteToShort rbind(ByteDblToShort f, double d)
(d) to the end of f, returning a new function
of type (byte) -> short.f - the unbound functiond - argument 2(byte b) -> short that calls
f.call(b, d) and returns the result.default ByteToShort rbind(double d)
(d) to the end of this, returning a new function
of type (byte) -> short.rbind in interface ByteDblToShortE<RuntimeException>d - argument 2(byte b) -> short that calls
this.call(b, d) and returns the result.static NilToShort bind(ByteDblToShort f, byte b, double d)
(b, d) to f, returning a new function
of type () -> short.f - the unbound functionb - argument 1d - argument 2() -> short that calls
f.call(b, d) and returns the result.default NilToShort bind(byte b, double d)
(b, d) to this, returning a new function
of type () -> short.bind in interface ByteDblToShortE<RuntimeException>b - argument 1d - argument 2() -> short that calls
this.call(b, d) and returns the result.Copyright © 2014. All rights reserved.