@FunctionalInterface public interface FloatShortToDbl extends FloatShortToDblE<RuntimeException>
(float, short) -> double.| Modifier and Type | Method and Description |
|---|---|
default ShortToDbl |
bind(float fl)
Binds
(fl) to the beginning of this, returning a new function
of type (short) -> double. |
default NilToDbl |
bind(float fl,
short sh)
Binds
(fl, sh) to this, returning a new function
of type () -> double. |
static ShortToDbl |
bind(FloatShortToDbl f,
float fl)
Binds
(fl) to the beginning of f, returning a new function
of type (short) -> double. |
static NilToDbl |
bind(FloatShortToDbl f,
float fl,
short sh)
Binds
(fl, sh) to f, returning a new function
of type () -> double. |
static FloatToDbl |
rbind(FloatShortToDbl f,
short sh)
Binds
(sh) to the end of f, returning a new function
of type (float) -> double. |
default FloatToDbl |
rbind(short sh)
Binds
(sh) to the end of this, returning a new function
of type (float) -> double. |
static <E extends Exception> |
unchecked(FloatShortToDblE<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,
FloatShortToDblE<E> f)
Returns a wrapped version of
f that uses toRuntime to convert any checked
Exception to a RuntimeException. |
static <E extends IOException> |
uncheckedIO(FloatShortToDblE<E> f)
|
bind, bind, call, rbindstatic <E extends Exception> FloatShortToDbl unchecked(Function<? super E,RuntimeException> toRuntime, FloatShortToDblE<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
FloatShortToDblE.call(float, short), 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> FloatShortToDbl unchecked(FloatShortToDblE<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> FloatShortToDbl uncheckedIO(FloatShortToDblE<E> f)
E - the Exception type that the operation may throwf - the operation to wrapf that throws UncheckedIOException instead of
IOExceptionstatic ShortToDbl bind(FloatShortToDbl f, float fl)
(fl) to the beginning of f, returning a new function
of type (short) -> double.f - the unbound functionfl - argument 1(short sh) -> double that calls
f.call(fl, sh) and returns the result.default ShortToDbl bind(float fl)
(fl) to the beginning of this, returning a new function
of type (short) -> double.bind in interface FloatShortToDblE<RuntimeException>fl - argument 1(short sh) -> double that calls
this.call(fl, sh) and returns the result.static FloatToDbl rbind(FloatShortToDbl f, short sh)
(sh) to the end of f, returning a new function
of type (float) -> double.f - the unbound functionsh - argument 2(float fl) -> double that calls
f.call(fl, sh) and returns the result.default FloatToDbl rbind(short sh)
(sh) to the end of this, returning a new function
of type (float) -> double.rbind in interface FloatShortToDblE<RuntimeException>sh - argument 2(float fl) -> double that calls
this.call(fl, sh) and returns the result.static NilToDbl bind(FloatShortToDbl f, float fl, short sh)
(fl, sh) to f, returning a new function
of type () -> double.f - the unbound functionfl - argument 1sh - argument 2() -> double that calls
f.call(fl, sh) and returns the result.default NilToDbl bind(float fl, short sh)
(fl, sh) to this, returning a new function
of type () -> double.bind in interface FloatShortToDblE<RuntimeException>fl - argument 1sh - argument 2() -> double that calls
this.call(fl, sh) and returns the result.Copyright © 2014. All rights reserved.