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