public class PageInfo<T> extends PageSerializable<T>
list, total
Constructor and Description |
---|
PageInfo() |
PageInfo(List<T> list)
包装Page对象
|
PageInfo(List<T> list,
int navigatePages)
包装Page对象
|
Modifier and Type | Method and Description |
---|---|
int |
getEndRow() |
int |
getNavigateFirstPage() |
int |
getNavigateLastPage() |
int[] |
getNavigatepageNums() |
int |
getNavigatePages() |
int |
getNextPage() |
int |
getPageNum() |
int |
getPages() |
int |
getPageSize() |
int |
getPrePage() |
int |
getSize() |
int |
getStartRow() |
boolean |
isHasNextPage() |
boolean |
isHasPreviousPage() |
boolean |
isIsFirstPage() |
boolean |
isIsLastPage() |
static <T> PageInfo<T> |
of(List<T> list) |
static <T> PageInfo<T> |
of(List<T> list,
int navigatePages) |
void |
setEndRow(int endRow) |
void |
setHasNextPage(boolean hasNextPage) |
void |
setHasPreviousPage(boolean hasPreviousPage) |
void |
setIsFirstPage(boolean isFirstPage) |
void |
setIsLastPage(boolean isLastPage) |
void |
setNavigateFirstPage(int navigateFirstPage) |
void |
setNavigateLastPage(int navigateLastPage) |
void |
setNavigatepageNums(int[] navigatepageNums) |
void |
setNavigatePages(int navigatePages) |
void |
setNextPage(int nextPage) |
void |
setPageNum(int pageNum) |
void |
setPages(int pages) |
void |
setPageSize(int pageSize) |
void |
setPrePage(int prePage) |
void |
setSize(int size) |
void |
setStartRow(int startRow) |
String |
toString() |
getList, getTotal, setList, setTotal
public int getPageNum()
public void setPageNum(int pageNum)
public int getPageSize()
public void setPageSize(int pageSize)
public int getSize()
public void setSize(int size)
public int getStartRow()
public void setStartRow(int startRow)
public int getEndRow()
public void setEndRow(int endRow)
public int getPages()
public void setPages(int pages)
public int getPrePage()
public void setPrePage(int prePage)
public int getNextPage()
public void setNextPage(int nextPage)
public boolean isIsFirstPage()
public void setIsFirstPage(boolean isFirstPage)
public boolean isIsLastPage()
public void setIsLastPage(boolean isLastPage)
public boolean isHasPreviousPage()
public void setHasPreviousPage(boolean hasPreviousPage)
public boolean isHasNextPage()
public void setHasNextPage(boolean hasNextPage)
public int getNavigatePages()
public void setNavigatePages(int navigatePages)
public int[] getNavigatepageNums()
public void setNavigatepageNums(int[] navigatepageNums)
public int getNavigateFirstPage()
public int getNavigateLastPage()
public void setNavigateFirstPage(int navigateFirstPage)
public void setNavigateLastPage(int navigateLastPage)
public String toString()
toString
in class PageSerializable<T>
Copyright © 2018. All rights reserved.