public class Page<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected List<T> |
data |
protected String |
order |
protected int |
size |
protected String |
sort |
protected int |
start |
protected long |
total |
Constructor and Description |
---|
Page(List<T> data,
int size,
int start,
long total) |
Page(List<T> data,
int start,
long total) |
Modifier and Type | Method and Description |
---|---|
List<T> |
getData() |
String |
getOrder() |
int |
getSize() |
String |
getSort() |
int |
getStart() |
long |
getTotal() |
void |
setData(List<T> data) |
void |
setOrder(String order) |
void |
setSize(int size) |
void |
setSort(String sort) |
void |
setStart(int start) |
void |
setTotal(long total) |
protected int size
protected int start
protected long total
protected String sort
protected String order
public int getSize()
public void setSize(int size)
public int getStart()
public void setStart(int start)
public long getTotal()
public void setTotal(long total)
public String getSort()
public void setSort(String sort)
public String getOrder()
public void setOrder(String order)