Package | Description |
---|---|
org.apache.flink.util | |
org.apache.flink.util.function |
Modifier and Type | Method and Description |
---|---|
static <T> void |
LambdaUtil.applyToAllWhileSuppressingExceptions(Iterable<T> inputs,
ThrowingConsumer<T,? extends Exception> throwingConsumer)
This method supplies all elements from the input to the consumer.
|
Modifier and Type | Method and Description |
---|---|
static <A> java.util.function.Consumer<A> |
FunctionUtils.uncheckedConsumer(ThrowingConsumer<A,?> throwingConsumer)
Converts a
ThrowingConsumer into a Consumer which throws checked exceptions
as unchecked. |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.