Back to project page student_travel_app.
The source code is released under:
Apache License
If you think the Android project student_travel_app listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.piasy.simpletravel.model; // ww w. j av a 2s. co m import org.json.JSONArray; //import com.baidu.mapapi.search.MKPlanNode; //import com.baidu.mapapi.search.MKTransitRoutePlan; import com.piasy.simpletravel.util.Util; public class RouteEntry { // public MKPlanNode srcNode, destNode; // public MKTransitRoutePlan route; // public JSONArray others; // public String city; // // public RouteEntry(MKPlanNode source, MKPlanNode target, String city) // { // this.srcNode = source; // this.destNode = target; // this.city = city; // } // // @Override // public String toString() // { // if (route != null) // { // return srcNode.name + " -> " + destNode.name + ":\n" // + route.getTime() + " sec\n" // + Util.routePlan2Json(route).toString() + "\n" // + others.toString(); // } // else // { // return "No result..."; // } // } }