Exemple #1
0
 public ArrayList<Stop> getStops() {
   for (int index = 0; index < stops.size(); index++) {
     if (stops.get(index) == null) {
       Log.e(TAG, "One of the path stops is null");
     }
   }
   return stops;
 }
Exemple #2
0
 public Path(ArrayList<Stop> stops, double weight) {
   this.stops = stops;
   this.weight = weight;
   Log.d(
       TAG,
       "Path with weight "
           + String.valueOf(weight)
           + " has "
           + String.valueOf(stops.size())
           + " stops");
 }