default IntUnaryOperatorWithException<E> |
IntUnaryOperatorWithException.andThen(IntUnaryOperatorWithException<? extends E> after) |
Returns a composed operator that first applies this operator to its input,
and then applies the after operator to the result.
|
default IntUnaryOperatorWithException<E> |
IntUnaryOperatorWithException.compose(IntUnaryOperatorWithException<? extends E> before) |
Returns a composed operator that first applies the before operator to
its input, and then applies this operator to the result.
|
static <E extends Exception> IntUnaryOperator |
IntUnaryOperatorWithException.ignored(IntUnaryOperatorWithException<E> function) |
Converts a IntUnaryOperatorWithException to a lifted
IntUnaryOperator returning 0 in case of exception.
|
static <E extends Exception> IntUnaryOperator |
IntUnaryOperatorWithException.ignored(IntUnaryOperatorWithException<E> function,
int defaultValue) |
Converts a IntUnaryOperatorWithException to a lifted
IntUnaryOperator returning a default value in case of exception.
|
static <E extends Exception> IntUnaryOperator |
IntUnaryOperatorWithException.lifted(IntUnaryOperatorWithException<E> function) |
Converts a IntUnaryOperatorWithException to a lifted
IntUnaryOperator using 0 as return value in case of error.
|
static <E extends Exception> IntUnaryOperator |
IntUnaryOperatorWithException.unchecked(IntUnaryOperatorWithException<E> function) |
Converts a IntUnaryOperatorException to a IntUnaryOperator
that wraps exception to RuntimeException .
|
static <E extends Exception> IntUnaryOperator |
IntUnaryOperatorWithException.unchecked(IntUnaryOperatorWithException<E> function,
Function<Exception,RuntimeException> exceptionMapper) |
Converts a IntUnaryOperatorWithException to a
IntUnaryOperator that wraps exception to RuntimeException by
using the provided mapping function.
|