public class ListProviders
extends java.lang.Object
ListProviders.| Modifier and Type | Field and Description |
|---|---|
static ListProvider |
EMPTY_LIST_PROVIDER |
| Constructor and Description |
|---|
ListProviders() |
| Modifier and Type | Method and Description |
|---|---|
static <T> ListProvider<T> |
emptyListProvider()
Creates a
ListProvider that provides an empty list. |
static <T> ListProvider<T> |
singletonListProvider(T object)
Creates a
ListProvider with a single entry. |
public static final ListProvider EMPTY_LIST_PROVIDER
public static <T> ListProvider<T> singletonListProvider(T object)
ListProvider with a single entry.object - the list element.public static <T> ListProvider<T> emptyListProvider()
ListProvider that provides an empty list.Copyright © 2018 SAP SE. All Rights Reserved.