class Paginator implements Serializable, CloneableObject<Paginator> {

    public int setItems(int items) {
        this.items = items >= 0 ? items : 0;
        setPage(page);
        return this.items;
    }

    public  Paginator();
    public  Paginator(int itemsPerPage);
    public  Paginator(int itemsPerPage, int items);
    public  Paginator(PageSize pageSize);
    public  Paginator(PageSize pageSize, int items);

}