Suppliers
Constructors
Deprecated. Make private in 4.0. |
- @Deprecated public Suppliers()[source]
Deprecated: TODO Make private in 4.0.
Make private in 4.0.
Methods
|
Gets the result of |
|
|
Gets the singleton supplier that always returns null. |
- public static <T> T get(Supplier<T> supplier)[source]
Gets the result of
Supplier.get(), or null if the supplier is null.- Type parameters:
<T> – The type of results supplied by this supplier.
- Parameters:
supplier – The supplier or null.
- Returns:
Result of
Supplier.get()or null.