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