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