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