public class Page<E> extends ArrayList<E>
| 构造器和说明 |
|---|
Page() |
Page(Collection<? extends E> c) |
Page(Collection<? extends E> c,
Paginator p) |
Page(Paginator p) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
int |
getPageNo() |
int |
getPageSize() |
Paginator |
getPaginator()
得到分页器,通过Paginator可以得到总页数等值
|
int |
getTotalCount() |
int |
hashCode() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizecontainsAll, toStringcontainsAllparallelStream, streampublic Page()
public Page(Collection<? extends E> c)
public Page(Collection<? extends E> c, Paginator p)
public Page(Paginator p)
public Paginator getPaginator()
public int getPageSize()
public int getPageNo()
public int getTotalCount()
public boolean equals(Object obj)
equals 在接口中 Collection<E>equals 在接口中 List<E>equals 在类中 AbstractList<E>public int hashCode()
hashCode 在接口中 Collection<E>hashCode 在接口中 List<E>hashCode 在类中 AbstractList<E>Copyright © 2020. All rights reserved.