public class FunctionalUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
FunctionalUtils.CheckedConsumer<T,E extends Throwable> |
static interface |
FunctionalUtils.CheckedFunction<T,R,E extends Throwable> |
| Constructor and Description |
|---|
FunctionalUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T,E extends Throwable> |
unchecked(FunctionalUtils.CheckedConsumer<T,E> consumer) |
static <T,R,E extends Throwable> |
uncheckedFunction(FunctionalUtils.CheckedFunction<T,R,E> function) |
public static <T,E extends Throwable> Consumer<T> unchecked(FunctionalUtils.CheckedConsumer<T,E> consumer)
public static <T,R,E extends Throwable> Function<T,R> uncheckedFunction(FunctionalUtils.CheckedFunction<T,R,E> function)
Copyright © 2018. All rights reserved.