Package com.adobe.acs.commons.functions
Interface CheckedSupplier<T>
- Type Parameters:
T- Type being supplied
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Supplier function which allows throwing exceptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> CheckedSupplier<T>fromSupplier(Supplier<T> supplier) get()Gets a result.
-
Method Details
-
fromSupplier
-
get
Gets a result.- Returns:
- a result
- Throws:
Exception
-