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