Class SupplierUtils
- java.lang.Object
- org.springframework.util.function.SupplierUtils
public abstract class SupplierUtils extends Object
Convenience utilities forSupplier
handling.- Since:
- 5.1
- Author:
- Juergen Hoeller
- See Also:
SingletonSupplier
Constructor Summary
Constructors Constructor Description SupplierUtils()
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
resolve(Supplier<T> supplier)
Resolve the givenSupplier
, getting its result or immediately returningnull
if the supplier itself wasnull
.
Constructor Detail
SupplierUtils
public SupplierUtils()