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-like interface which allows throwing Error.-
Method Summary
Modifier and TypeMethodDescriptiondefault <V> CheckedSupplier<V> andThen(CheckedFunction<? super T, ? extends V> after) get()static <T extends Throwable,R>
R
-
Method Details
-
get
- Throws:
Throwable
-
andThen
-
unchecked
-
sneakyThrow
- Throws:
T
-