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