org.tinygroup.fulltext
类 Pager<T>

java.lang.Object
  继承者 org.tinygroup.fulltext.Pager<T>
类型参数:
T -

public class Pager<T>
extends Object

分页对象

作者:
yancheng11334

构造方法摘要
Pager(int totalCount, int start, int limit, List<T> records)
           
Pager(int totalCount, int start, List<T> records)
           
 
方法摘要
 int getCurrentPage()
           
 int getLimit()
           
 List<T> getRecords()
           
 int getStart()
           
 int getTotalCount()
           
 int getTotalPages()
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

Pager

public Pager(int totalCount,
             int start,
             List<T> records)

Pager

public Pager(int totalCount,
             int start,
             int limit,
             List<T> records)
方法详细信息

getRecords

public List<T> getRecords()

getTotalCount

public int getTotalCount()

getCurrentPage

public int getCurrentPage()

getLimit

public int getLimit()

getStart

public int getStart()

getTotalPages

public int getTotalPages()

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2006–2016 TinyGroup. All rights reserved.