public interface ResultSetProvider<T extends ResultSetItem>
| Modifier and Type | Method and Description |
|---|---|
int |
getItemCount()
Gets the total item count.
|
List<T> |
getItems()
Gets all items.
|
List<T> |
getItems(int index,
int maxSize)
Gets the items in a specific range (by index).
|
List<T> |
getItemsAfter(String itemId,
int maxSize)
Gets the items after a specific item, which is determined by an item id.
|
List<T> |
getItemsBefore(String itemId,
int maxSize)
Gets the items before a specific item, which is determined by an item id.
|
int |
indexOf(String itemId)
Gets the index of a specific item.
|
List<T> getItems()
int getItemCount()
List<T> getItems(int index, int maxSize)
index - The index.maxSize - The maximal size of items.List<T> getItemsAfter(String itemId, int maxSize)
itemId - The item id.maxSize - The maximal size of items.List<T> getItemsBefore(String itemId, int maxSize)
itemId - The item id.maxSize - The maximal size of items.int indexOf(String itemId)
itemId - The item id.Copyright © 2014–2017 XMPP.rocks. All rights reserved.