| Modifier and Type | Method | Description |
|---|---|---|
default IntConsumerWithException<E> |
IntConsumerWithException.andThen(IntConsumerWithException<? extends E> after) |
Returns a composed
IntConsumerWithException that performs, in
sequence, this operation followed by the after operation. |
static <E extends Exception> |
IntConsumerWithException.failing(Supplier<E> exceptionBuilder) |
Returns an operation that always throw exception.
|
| Modifier and Type | Method | Description |
|---|---|---|
default IntConsumerWithException<E> |
IntConsumerWithException.andThen(IntConsumerWithException<? extends E> after) |
Returns a composed
IntConsumerWithException that performs, in
sequence, this operation followed by the after operation. |
static <E extends Exception> |
IntConsumerWithException.asConsumer(IntConsumerWithException<E> operation) |
Converts a
IntConsumerWithException to a
ConsumerWithException. |
static <E extends Exception> |
IntConsumerWithException.ignored(IntConsumerWithException<E> operation) |
Converts a
IntConsumerWithException to a lifted IntConsumer
ignoring exception. |
static <E extends Exception> |
IntConsumerWithException.lifted(IntConsumerWithException<E> operation) |
Converts a
IntConsumerWithException to a lifted IntConsumer
ignoring exception. |
static <E extends Exception> |
IntConsumerWithException.staged(IntConsumerWithException<E> operation) |
Converts a
IntConsumerWithException to a staged IntFunction . |
static <E extends Exception> |
IntConsumerWithException.unchecked(IntConsumerWithException<E> operation) |
Converts a
IntConsumerWithException to a IntConsumer that
wraps exception to RuntimeException. |
static <E extends Exception> |
IntConsumerWithException.unchecked(IntConsumerWithException<E> operation,
Function<Exception,RuntimeException> exceptionMapper) |
Converts a
IntConsumerWithException to a IntConsumer that
wraps exception to RuntimeException by using the provided mapping
function. |
Copyright © 2019. All rights reserved.