@FunctionalInterface public interface CheckedSupplier<T>
Supplier that allows for checked exceptions.| Modifier and Type | Method and Description |
|---|---|
T |
get()
Gets a result.
|
static <T> java.util.function.Supplier<T> |
unchecked(CheckedSupplier<T> supplier) |
static <T> java.util.function.Supplier<T> |
unchecked(CheckedSupplier<T> supplier,
java.util.function.Consumer<Throwable> handler) |
static <T> java.util.function.Supplier<T> unchecked(CheckedSupplier<T> supplier)
Unchecked#supplier(CheckedSupplier)}static <T> java.util.function.Supplier<T> unchecked(CheckedSupplier<T> supplier, java.util.function.Consumer<Throwable> handler)
Unchecked#supplier(CheckedSupplier, Consumer)}Copyright © 2016. All Rights Reserved.