Package servlet.utilities

Examples of servlet.utilities.Paris_S.update()


      if(station_uic == null || station_uic.isEmpty()) {
        for(List<TheoricalTrainData> l : trains.values()) {
          //data.addAll(l);
          for(TheoricalTrainData ttd : l) {
            Paris_S p_s = new Paris_S();
            p_s.update(selection, ttd);
            json.add(p_s);
          }
        }
      }
      else {
View Full Code Here


      }
      else {
        //data = trains.get(station_uic);
        for(TheoricalTrainData ttd : trains.get(station_uic)) {
          Paris_S p_s = new Paris_S();
          p_s.update(selection, ttd);
          json.add(p_s);
        }
      }
      //Collections.sort(data);
      Collections.sort(json);
View Full Code Here

    if(paris != null && !paris.isEmpty()) {
      List<GareSelection> selection = (List<GareSelection>) request.getAttribute("gares_selection");
      List<Paris_S> json_p = new ArrayList<Paris_S>();
      for(Pari p : paris) {
        Paris_S ps = new Paris_S();
        ps.update(selection, p);
        json_p.add(ps);
      }
      json.add(json_p);
    }
    else {
View Full Code Here

    if(paris_historique != null && !paris_historique.isEmpty()) {
      List<GareSelection> selection = (List<GareSelection>) request.getAttribute("gares_selection");
      List<Paris_S> json_ph = new ArrayList<Paris_S>();
      for(PariHistorique p : paris_historique) {
        Paris_S ps = new Paris_S();
        ps.update(selection, p);
        json_ph.add(ps);
      }
      json.add(json_ph);
    }
    else {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.