public final class FunctionWithExceptions
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
FunctionWithExceptions.FunctionWithException<I,O>
A function that can throw an exception.
|
| Modifier and Type | Method and Description |
|---|---|
static <I,O> java.util.function.Function<I,O> |
wrapper(FunctionWithExceptions.FunctionWithException<I,O> fe)
Creates a wrapper for lambdas that converts checked exceptions to runtime exceptions.
|
public static <I,O> java.util.function.Function<I,O> wrapper(FunctionWithExceptions.FunctionWithException<I,O> fe)
Copyright © 2020 Google LLC. All Rights Reserved.