Shop/src/bean/Page.java

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

package bean;

import java.util.List;

// Referenced classes of package bean:
//            Condition

public class Page
{

    private boolean hasPrevPage;
    private boolean hasNextPage;
    private int pageSize;
    private int totalPage;
    private int totalRow;
    private int curPage;
    private int beginIndex;
    private String url;
    private String param;
    private String pageToolBar;
    private Condition condition;
    private List result;

    public Page()
    {
    }

    public Page(int pageSize, String url, String param)
    {
        this.pageSize = pageSize;
        this.url = url != null ? url : "";
        this.param = param != null ? param : "";
    }

    public Page(boolean hasPrevPage, boolean hasNextPage, int pageSize, int totalPage, int totalRow, int curPage, int beginIndex, 
            String pageToolBar, Condition condition)
    {
        this.hasPrevPage = hasPrevPage;
        this.hasNextPage = hasNextPage;
        this.pageSize = pageSize;
        this.totalPage = totalPage;
        this.totalRow = totalRow;
        this.curPage = curPage;
        this.beginIndex = beginIndex;
        this.pageToolBar = pageToolBar;
        this.condition = condition;
    }

    public List getResult()
    {
        return result;
    }

    public void setResult(List result)
    {
        this.result = result;
    }

    public int getBeginIndex()
    {
后面还有 108 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。