default LongUnaryOperatorWithException<E> |
LongUnaryOperatorWithException.andThen(LongUnaryOperatorWithException<? 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 LongUnaryOperatorWithException<E> |
LongUnaryOperatorWithException.compose(LongUnaryOperatorWithException<? 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> LongUnaryOperator |
LongUnaryOperatorWithException.ignored(LongUnaryOperatorWithException<E> function) |
Converts a LongUnaryOperatorWithException to a lifted
LongUnaryOperator returning 0 in case of exception.
|
static <E extends Exception> LongUnaryOperator |
LongUnaryOperatorWithException.ignored(LongUnaryOperatorWithException<E> function,
long defaultValue) |
Converts a LongUnaryOperatorWithException to a lifted
LongUnaryOperator returning a default value in case of exception.
|
static <E extends Exception> LongUnaryOperator |
LongUnaryOperatorWithException.lifted(LongUnaryOperatorWithException<E> function) |
Converts a LongUnaryOperatorWithException to a lifted
LongUnaryOperator using 0 as return value in case of error.
|
static <E extends Exception> LongUnaryOperator |
LongUnaryOperatorWithException.unchecked(LongUnaryOperatorWithException<E> function) |
Converts a LongUnaryOperatorException to a LongUnaryOperator
that wraps exception to RuntimeException .
|
static <E extends Exception> LongUnaryOperator |
LongUnaryOperatorWithException.unchecked(LongUnaryOperatorWithException<E> function,
Function<Exception,RuntimeException> exceptionMapper) |
Converts a LongUnaryOperatorWithException to a
LongUnaryOperator that wraps exception to RuntimeException by
using the provided mapping function.
|