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