public final class PageList<T>
extends java.util.ArrayList<T>
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.util.List<T> |
getRecords()
记录数
|
long |
getTotal()
总数
|
int |
hashCode() |
void |
setRecords(java.util.List<T> records)
记录数
|
void |
setTotal(long total)
总数
|
java.lang.String |
toString() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizepublic PageList(java.util.List<T> records, long total)
public java.util.List<T> getRecords()
public long getTotal()
public void setRecords(java.util.List<T> records)
public void setTotal(long total)
public java.lang.String toString()
toString 在类中 java.util.AbstractCollection<T>public boolean equals(java.lang.Object o)
protected boolean canEqual(java.lang.Object other)