class PaginationOptions {

    public int getOffset() {
        if(pageNumber < 1) {
            return 0;
        }
        return pageNumber * pageSize;
    }

    public  PaginationOptions(int pageNumber, int pageSize, Comparator<T> sortComparator);

}