Class Suppliers
java.lang.Object
org.apache.commons.lang3.function.Suppliers
Helps use 
Supplier.- Since:
- 3.13.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> TNull-safe call toSupplier.get().static <T> Supplier<T>nul()Returns the singleton supplier that always returns null.
- 
Constructor Details- 
SuppliersDeprecated.TODO Make private in 4.0.Make private in 4.0.
 
- 
- 
Method Details- 
getNull-safe call toSupplier.get().- Type Parameters:
- T- the type of results supplied by this supplier.
- Parameters:
- supplier- the supplier or null.
- Returns:
- Result of Supplier.get()or null.
 
- 
nulReturns the singleton supplier that always returns null.This supplier never throws an exception. - Type Parameters:
- T- Supplied type.
- Returns:
- The NUL singleton.
- Since:
- 3.14.0
 
 
-