All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tinypass.client.common.PageList Maven / Gradle / Ivy

There is a newer version: 16.366.0
Show newest version
package com.tinypass.client.common;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;

public class PageList extends ArrayList {

    int offset = 0;
    int limit = 0;
    int total = 0;
    int count = 0;

    PageList() {
        super();
    }

    PageList(Collection c) {
        super(c);
        count = c.size();
    }

    public int getOffset(){
        return this.offset;
    }

    public void setOffset(int offset){
        this.offset = offset;
    }

    public int getLimit() {
        return this.limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total= total;
    }

    public int getCount(){ return count; }

    public void setCount(int count){ this.count = count; }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy