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