Interface CheckedSupplier<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
Supplier that allows for checked exceptions.-
Method Summary
Modifier and TypeMethodDescriptionget()Gets a result.static <T> Supplier<T> sneaky(CheckedSupplier<T> supplier) static <T> Supplier<T> unchecked(CheckedSupplier<T> supplier) static <T> Supplier<T> unchecked(CheckedSupplier<T> supplier, Consumer<Throwable> handler)
-
Method Details
-
get
-
sneaky
-
unchecked
-
unchecked
-