T
- the info item type that this page is supposed to store and providepublic static class ListExtractor.InfoItemsPage<T extends InfoItem> extends Object
nextPage
).Constructor and Description |
---|
InfoItemsPage(InfoItemsCollector<T,?> collector,
Page nextPage) |
InfoItemsPage(List<T> itemsList,
Page nextPage,
List<Throwable> errors) |
Modifier and Type | Method and Description |
---|---|
static <T extends InfoItem> |
emptyPage()
A convenient method that returns a representation of an empty page.
|
List<Throwable> |
getErrors() |
List<T> |
getItems() |
Page |
getNextPage() |
boolean |
hasNextPage() |
public InfoItemsPage(InfoItemsCollector<T,?> collector, Page nextPage)
public static <T extends InfoItem> ListExtractor.InfoItemsPage<T> emptyPage()
null
.public boolean hasNextPage()
public Page getNextPage()