public final class FunctionUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T,R,E extends Exception> |
map(ThrowingFunction<T,R,E> function,
Function<E,R> exceptionConsumer)
Map throwing function in default stream api with exception consume support
|
public static <T,R,E extends Exception> Function<T,R> map(ThrowingFunction<T,R,E> function, Function<E,R> exceptionConsumer)
T - type of function parameterR - type of function resultE - type of exceptionfunction - the function to applyexceptionConsumer - the exception consumerCopyright © 2020. All rights reserved.