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.
@ConsumerType @FunctionalInterface public interface CheckedSupplier<T>
Supplier function which allows throwing exceptions
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <T> CheckedSupplier<T>fromSupplier(Supplier<T> supplier)Tget()Gets a result.
-
-
-
Method Detail
-
fromSupplier
static <T> CheckedSupplier<T> fromSupplier(Supplier<T> supplier)
-
-