public class Page<E> extends ArrayList<E>
modCount| 构造器和说明 |
|---|
Page() |
Page(Collection<? extends E> c,
int total) |
Page(int pageNumber,
int pageSize) |
Page(int pageNumber,
int pageSize,
boolean countable) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getOffset() |
int |
getPageNumber() |
int |
getPageSize() |
long |
getTotal() |
boolean |
hasNext() |
boolean |
hasPrevious() |
boolean |
isCountable() |
boolean |
isFirst() |
boolean |
isLast() |
void |
setCountable(boolean countable) |
void |
setPageNumber(int pageNumber) |
void |
setPageSize(int pageSize) |
void |
setTotal(int total) |
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, trimToSizeequals, hashCodecontainsAllcontainsAll, equals, hashCodeparallelStream, streampublic Page(int pageNumber,
int pageSize)
public Page(int pageNumber,
int pageSize,
boolean countable)
public Page()
public Page(Collection<? extends E> c, int total)
public void setPageNumber(int pageNumber)
public void setPageSize(int pageSize)
public int getPageNumber()
public int getPageSize()
public int getOffset()
public boolean isCountable()
public void setCountable(boolean countable)
public boolean isFirst()
public boolean isLast()
public boolean hasNext()
public boolean hasPrevious()
public long getTotal()
public void setTotal(int total)
public String toString()
toString 在类中 AbstractCollection<E>Copyright © 2020. All rights reserved.