KeysetPage, Serializablepublic class DefaultKeysetPage extends Object implements KeysetPage
KeysetPage interface.| Constructor | Description |
|---|---|
DefaultKeysetPage(int firstResult,
int maxResults,
Keyset lowest,
Keyset highest) |
Creates a new
KeysetPage. |
DefaultKeysetPage(int firstResult,
int maxResults,
Keyset lowest,
Keyset highest,
List<Keyset> keysets) |
Creates a new
KeysetPage. |
DefaultKeysetPage(int firstResult,
int maxResults,
Serializable[] lowest,
Serializable[] highest,
Serializable[][] keysets) |
Creates a new
KeysetPage. |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getFirstResult() |
Returns the position of the first result, numbered from 0.
|
Keyset |
getHighest() |
Returns the key set for the highest entry of the corresponding
PagedList. |
List<Keyset> |
getKeysets() |
Returns the key set list of the corresponding
PagedList. |
Keyset |
getLowest() |
Returns the key set for the lowest entry of the corresponding
PagedList. |
int |
getMaxResults() |
Returns the maximum number of results.
|
public DefaultKeysetPage(int firstResult,
int maxResults,
Serializable[] lowest,
Serializable[] highest,
Serializable[][] keysets)
KeysetPage.firstResult - The first resultmaxResults - The max resultslowest - The lowest keysethighest - The highest keysetkeysets - All extracted keysetspublic DefaultKeysetPage(int firstResult,
int maxResults,
Keyset lowest,
Keyset highest)
KeysetPage.firstResult - The first resultmaxResults - The max resultslowest - The lowest keysethighest - The highest keysetpublic DefaultKeysetPage(int firstResult,
int maxResults,
Keyset lowest,
Keyset highest,
List<Keyset> keysets)
KeysetPage.firstResult - The first resultmaxResults - The max resultslowest - The lowest keysethighest - The highest keysetkeysets - All extracted keysetspublic int getFirstResult()
KeysetPagegetFirstResult in interface KeysetPagepublic int getMaxResults()
KeysetPagegetMaxResults in interface KeysetPagepublic Keyset getLowest()
KeysetPagePagedList.getLowest in interface KeysetPagepublic Keyset getHighest()
KeysetPagePagedList.getHighest in interface KeysetPagepublic List<Keyset> getKeysets()
KeysetPagePagedList.getKeysets in interface KeysetPageCopyright © 2014–2020 Blazebit. All rights reserved.