Package org.jeecgframework.web.system.manager

Examples of org.jeecgframework.web.system.manager.ClientSort


   * @param onlines
   * @param dataGrid
   * @return
   */
  private List<Client> getClinetList(List<Client> onlines, DataGrid dataGrid) {
    Collections.sort(onlines, new ClientSort());
    List<Client> result = new ArrayList<Client>();
    for(int i = (dataGrid.getPage()-1)*dataGrid.getRows();
        i<onlines.size()&&i<dataGrid.getPage()*dataGrid.getRows();i++){
      result.add(onlines.get(i));
    }
 
View Full Code Here

TOP

Related Classes of org.jeecgframework.web.system.manager.ClientSort

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.