Exemplo n.º 1
0
Arquivo: Path.java Projeto: ma3map/api
 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;
 }
Exemplo n.º 2
0
Arquivo: Path.java Projeto: ma3map/api
 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");
 }