public final class FunctionUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static <T,U> BiConsumer<T,U> | wrapBiConsumer(ThrowingBiConsumer<T,U> consumerThatThrows) | 
| static <T> Consumer<T> | wrapConsumer(ThrowingConsumer<T> consumerThatThrows) | 
| static <T,U> Function<T,U> | wrapFunction(ThrowingFunction<T,U> functionThatThrows) | 
| static <T> Supplier<T> | wrapSupplier(ThrowingSupplier<T> supplierThatThrows) | 
public static <T,U> Function<T,U> wrapFunction(ThrowingFunction<T,U> functionThatThrows)
public static <T> Consumer<T> wrapConsumer(ThrowingConsumer<T> consumerThatThrows)
public static <T,U> BiConsumer<T,U> wrapBiConsumer(ThrowingBiConsumer<T,U> consumerThatThrows)
public static <T> Supplier<T> wrapSupplier(ThrowingSupplier<T> supplierThatThrows)
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.