Class Suppliers
java.lang.Object
org.apache.commons.lang3.function.Suppliers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TNull-safe call toSupplier.get().static <T> Supplier<T> nul()Gets the singleton supplier that always returns null.
-
Constructor Details
-
Suppliers
-
-
Method Details
-
get
Null-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.
-
nul
-