Class Suppliers
- java.lang.Object
-
- org.apache.commons.lang3.function.Suppliers
-
-
Constructor Summary
Constructors Constructor Description Suppliers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Tget(Supplier<T> supplier)Null-safe call toSupplier.get().
-
-
-
Constructor Detail
-
Suppliers
public Suppliers()
-
-
Method Detail
-
get
public static <T> T get(Supplier<T> supplier)
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.
-
-