| Modifier and Type | Method | Description |
|---|---|---|
static <E extends Exception> |
LongBinaryOperatorWithException.failing(Supplier<E> exceptionBuilder) |
Returns a function that always throw exception.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <E extends Exception> |
LongBinaryOperatorWithException.ignored(LongBinaryOperatorWithException<E> function) |
Converts a
LongBinaryOperatorWithException to a lifted
LongBinaryOperator with 0 as return value in case of
exception. |
static <E extends Exception> |
LongBinaryOperatorWithException.lifted(LongBinaryOperatorWithException<E> function) |
Converts a
LongBinaryOperatorWithException to a lifted
LongBinaryOperator with 0 as return value in case of
exception. |
static <E extends Exception> |
LongBinaryOperatorWithException.unchecked(LongBinaryOperatorWithException<E> function) |
Converts a
LongBinaryOperatorWithException to a
LongBinaryOperator that convert exception to
RuntimeException. |
static <E extends Exception> |
LongBinaryOperatorWithException.unchecked(LongBinaryOperatorWithException<E> function,
Function<Exception,RuntimeException> exceptionMapper) |
Converts a
LongBinaryOperatorWithException to a
LongBinaryOperator that convert exception to RuntimeException
by using the provided mapping function. |
Copyright © 2019. All rights reserved.