| Package | Description |
|---|---|
| net.mintern.functions.binary |
Provides
@FunctionalInterfaces for 2-argument
operations. |
| net.mintern.functions.binary.checked |
Provides
@FunctionalInterfaces for 2-argument
operations that throw checked exceptions. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FloatFloatToShort
An operation of type
(float, float) -> short. |
| Modifier and Type | Method and Description |
|---|---|
static <E extends Exception> |
FloatFloatToShort.unchecked(FloatFloatToShortE<E> f)
Returns a wrapped version of
f that wraps any checked Exception with a
RuntimeException. |
static <E extends Exception> |
FloatFloatToShort.unchecked(Function<? super E,RuntimeException> toRuntime,
FloatFloatToShortE<E> f)
Returns a wrapped version of
f that uses toRuntime to convert any checked
Exception to a RuntimeException. |
static <E extends IOException> |
FloatFloatToShort.uncheckedIO(FloatFloatToShortE<E> f)
|
| Modifier and Type | Method and Description |
|---|---|
static <E extends Exception> |
FloatFloatToShortE.bind(FloatFloatToShortE<E> f,
float fl1)
Binds
(fl1) to the beginning of f, returning a new function
of type (float) -> short. |
static <E extends Exception> |
FloatFloatToShortE.bind(FloatFloatToShortE<E> f,
float fl1,
float fl2)
Binds
(fl1, fl2) to f, returning a new function
of type () -> short. |
static <E extends Exception> |
FloatFloatToShortE.rbind(FloatFloatToShortE<E> f,
float fl2)
Binds
(fl2) to the end of f, returning a new function
of type (float) -> short. |
Copyright © 2014. All rights reserved.