public class PageImpl<T> extends Object implements Page<T>, Serializable
| Constructor and Description |
|---|
PageImpl(Collection<? extends T> content,
int page,
int total,
int limit) |
PageImpl(Collection<? extends T> content,
int total,
org.springframework.data.domain.Pageable pageable) |
| Modifier and Type | Method and Description |
|---|---|
int |
getItemSize() |
int |
getPage() |
int |
getPageSize() |
int |
getRecords() |
T |
getRow(int index) |
List<T> |
getRows() |
int |
getStatus() |
int |
getTotal() |
public PageImpl(Collection<? extends T> content, int page, int total, int limit)
public PageImpl(Collection<? extends T> content, int total, org.springframework.data.domain.Pageable pageable)
public int getRecords()
getRecords in interface Page<T>public int getPageSize()
getPageSize in interface Page<T>public int getItemSize()
getItemSize in interface Page<T>Copyright © 2015–2023 cn.gtmap. All rights reserved.