public class Pager extends Object implements Serializable
| Constructor and Description |
|---|
Pager() |
Pager(Long numOfRecords) |
Pager(Long numOfRecords,
Integer page) |
Pager(Long numOfRecords,
Integer page,
Long pageSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFirstPage() |
long |
getIndexRangeBegin() |
long |
getIndexRangeEnd() |
long |
getLastPage() |
int |
getNextPage() |
Long |
getNumOfRecords() |
Integer |
getPage() |
Long |
getPageSize() |
int |
getPreviousPage() |
boolean |
isNextPageAvailable() |
boolean |
isPreviousPageAvailable() |
boolean |
isSeveralPages() |
void |
setNumOfRecords(Long numOfRecords) |
void |
setPage(Integer page) |
void |
setPageSize(Long pageSize) |
String |
toString() |
public Pager()
public Pager(Long numOfRecords)
public Long getNumOfRecords()
public void setNumOfRecords(Long numOfRecords)
public Integer getPage()
public void setPage(Integer page)
public Long getPageSize()
public void setPageSize(Long pageSize)
public int getNextPage()
public int getPreviousPage()
public int getFirstPage()
public long getIndexRangeBegin()
public long getIndexRangeEnd()
public long getLastPage()
public boolean isPreviousPageAvailable()
public boolean isNextPageAvailable()
public boolean isSeveralPages()
Copyright © 2023 jUPnP.org. All rights reserved.