| Modifier and Type | Method and Description |
|---|---|
default Consumer<T> |
Consumer.andThen(Consumer<? super T> after)
Compose the specified
Consumer to be called after this
Consumer. |
static <T> Consumer<T> |
Consumer.asConsumer(Consumer<T> wrapped)
Returns a
Consumer which wraps a
java.util.function.Consumer. |
| Modifier and Type | Method and Description |
|---|---|
default Consumer<T> |
Consumer.andThen(Consumer<? super T> after)
Compose the specified
Consumer to be called after this
Consumer. |
static <T> Consumer<T> |
Consumer.asJavaConsumer(Consumer<T> wrapped)
Returns a
java.util.function.Consumer which wraps the specified
Consumer and throws any thrown exceptions. |
static <T> Consumer<T> |
Consumer.asJavaConsumerIgnoreException(Consumer<T> wrapped)
Returns a
java.util.function.Consumer which wraps the specified
Consumer and discards any thrown Exceptions. |
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0