Class SupplierUtils
- java.lang.Object
- org.springframework.util.function.SupplierUtils
public abstract class SupplierUtils extends Object
Convenience utilities forSupplierhandling.- 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> Tresolve(Supplier<T> supplier)Resolve the givenSupplier, getting its result or immediately returningnullif the supplier itself wasnull.
Constructor Detail
SupplierUtils
public SupplierUtils()