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