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