Package edu.stanford.bmir.protege.web.shared.pagination

Examples of edu.stanford.bmir.protege.web.shared.pagination.PageRequest


            @Override
            public int compare(OWLNamedIndividualData owlNamedIndividualData, OWLNamedIndividualData owlNamedIndividualData2) {
                return owlNamedIndividualData.getBrowserText().compareTo(owlNamedIndividualData2.getBrowserText());
            }
        });
        PageRequest pageRequest = action.getPageRequest();
        Pager<OWLNamedIndividualData> pager = Pager.getPagerForPageSize(individualsData, pageRequest.getPageSize());
        Page<OWLNamedIndividualData> page = pager.getPage(pageRequest.getPageNumber());
        return new GetIndividualsResult(page);
    }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.shared.pagination.PageRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.