| Constructor and Description | 
|---|
| SupplierUtil() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> Supplier<T> | memoized(Supplier<T> actual)Caches the result of supplier in a thread safe manner. | 
| static <T> Supplier<T> | memoizedNonEmpty(Supplier<T> actual)Caches the result of supplier in a thread safe manner. | 
public static <T> Supplier<T> memoized(Supplier<T> actual)
T - The type of resultactual - The supplier providing the resultpublic static <T> Supplier<T> memoizedNonEmpty(Supplier<T> actual)
T - The type of resultactual - The supplier providing the result