public class Page<E> extends ArrayList<E>
| Constructor and Description |
|---|
Page() |
Page(Collection<? extends E> c) |
Page(Collection<? extends E> c,
Paginator p) |
Page(Paginator p) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface Collection<E>equals in interface List<E>equals in class AbstractList<E>public int hashCode()
hashCode in interface Collection<E>hashCode in interface List<E>hashCode in class AbstractList<E>Copyright © 2018 Pivotal Software, Inc.. All rights reserved.