Package de.hybris.platform.cockpit.util
Class ListProviders
java.lang.Object
de.hybris.platform.cockpit.util.ListProviders
Utility class containing convenience methods dealing with
ListProviders.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ListProvider<T>Creates aListProviderthat provides an empty list.static <T> ListProvider<T>singletonListProvider(T object) Creates aListProviderwith a single entry.
-
Field Details
-
EMPTY_LIST_PROVIDER
-
-
Constructor Details
-
ListProviders
public ListProviders()
-
-
Method Details
-
singletonListProvider
Creates aListProviderwith a single entry.- Parameters:
object- the list element.
-
emptyListProvider
Creates aListProviderthat provides an empty list.
-