public class Page<E> extends ArrayList<E> implements Closeable
modCount
Constructor and Description |
---|
Page() |
Page(int[] rowBounds,
boolean count)
int[] rowBounds
0 : offset
1 : limit
|
Page(int pageNum,
int pageSize) |
Page(int pageNum,
int pageSize,
boolean count) |
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, trimToSize
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public Page()
public Page(int pageNum, int pageSize)
public Page(int pageNum, int pageSize, boolean count)
public Page(int[] rowBounds, boolean count)
public int getPages()
public int getEndRow()
public int getPageNum()
public int getPageSize()
public int getStartRow()
public long getTotal()
public void setTotal(long total)
public Boolean getReasonable()
public Boolean getPageSizeZero()
public String getOrderBy()
public boolean isOrderByOnly()
public void setOrderByOnly(boolean orderByOnly)
public boolean isCount()
public Page<E> pageSizeZero(Boolean pageSizeZero)
pageSizeZero
- public Page<E> countColumn(String columnName)
columnName
- public PageSerializable<E> toPageSerializable()
public <E> PageSerializable<E> doSelectPageSerializable(ISelect select)
public long doCount(ISelect select)
public String getCountColumn()
public void setCountColumn(String countColumn)
public String toString()
toString
in class AbstractCollection<E>
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2018. All rights reserved.