public class PageSerializable<T> extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected List<T> |
list |
protected long |
total |
Constructor and Description |
---|
PageSerializable() |
PageSerializable(List<T> list) |
Modifier and Type | Method and Description |
---|---|
List<T> |
getList() |
long |
getTotal() |
static <T> PageSerializable<T> |
of(List<T> list) |
void |
setList(List<T> list) |
void |
setTotal(long total) |
String |
toString() |
Copyright © 2018. All rights reserved.