Differential Diff 368
Diff 368
Diff 368
Properties
Properties
Path | Size | ||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
| |||||||||
699 lines | |||||||||
114 lines | |||||||||
| |||||||||
| |||||||||
12 lines | |||||||||
14 lines | |||||||||
| |||||||||
64 lines | |||||||||
2 lines | |||||||||
| |||||||||
1 line | |||||||||
| |||||||||
3 lines | |||||||||
1 line | |||||||||
| |||||||||
| |||||||||
3 lines | |||||||||
| |||||||||
17 lines | |||||||||
| |||||||||
9 lines | |||||||||
| |||||||||
59 lines | |||||||||
72 lines | |||||||||
62 lines | |||||||||
| |||||||||
14 lines | |||||||||
25 lines | |||||||||
8 lines | |||||||||
33 lines | |||||||||
14 lines | |||||||||
| |||||||||
10 lines | |||||||||
132 lines | |||||||||
58 lines | |||||||||
| |||||||||
18 lines | |||||||||
26 lines | |||||||||
5 lines | |||||||||
12 lines | |||||||||
39 lines | |||||||||
6 lines | |||||||||
12 lines | |||||||||
| |||||||||
164 lines | |||||||||
235 lines | |||||||||
15 lines | |||||||||
| |||||||||
65 lines | |||||||||
85 lines | |||||||||
31 lines | |||||||||
| |||||||||
52 lines | |||||||||
| |||||||||
29 lines | |||||||||
4 lines |
Diff 368
Diff 368
app/assets/schemas/it.reyboz.bustorino.data.gtfs.GtfsDatabase/3.json
Show First 20 Lines • Show All 394 Lines • ▼ Show 20 Lines | public int getMinNumberOfPassages(){ | ||||
if( routes.size() == 0) min = 0; | if( routes.size() == 0) min = 0; | ||||
else for (Route r : routes){ | else for (Route r : routes){ | ||||
if(r.numPassaggi()>0) | if(r.numPassaggi()>0) | ||||
min = Math.min(min,r.numPassaggi()); | min = Math.min(min,r.numPassaggi()); | ||||
} | } | ||||
if (min == Integer.MAX_VALUE) return 0; | if (min == Integer.MAX_VALUE) return 0; | ||||
else return min; | else return min; | ||||
} | } | ||||
public ArrayList<String> getRoutesNamesWithNoPassages(){ | |||||
ArrayList<String> mList = new ArrayList<>(); | |||||
if(routes==null || routes.size() == 0){ | |||||
return mList; | |||||
} | |||||
for(Route r: routes){ | |||||
if(r.numPassaggi()==0) | |||||
mList.add(r.getNameForDisplay()); | |||||
} | |||||
return mList; | |||||
} | |||||
//private void mergeRoute | //private void mergeRoute | ||||
} | } | ||||
No newline at end of file | No newline at end of file |
app/build.gradle
Show First 20 Lines • Show All 394 Lines • ▼ Show 20 Lines | public int getMinNumberOfPassages(){ | ||||
if( routes.size() == 0) min = 0; | if( routes.size() == 0) min = 0; | ||||
else for (Route r : routes){ | else for (Route r : routes){ | ||||
if(r.numPassaggi()>0) | if(r.numPassaggi()>0) | ||||
min = Math.min(min,r.numPassaggi()); | min = Math.min(min,r.numPassaggi()); | ||||
} | } | ||||
if (min == Integer.MAX_VALUE) return 0; | if (min == Integer.MAX_VALUE) return 0; | ||||
else return min; | else return min; | ||||
} | } | ||||
public ArrayList<String> getRoutesNamesWithNoPassages(){ | |||||
ArrayList<String> mList = new ArrayList<>(); | |||||
if(routes==null || routes.size() == 0){ | |||||
return mList; | |||||
} | |||||
for(Route r: routes){ | |||||
if(r.numPassaggi()==0) | |||||
mList.add(r.getNameForDisplay()); | |||||
} | |||||
return mList; | |||||
} | |||||
//private void mergeRoute | //private void mergeRoute | ||||
} | } | ||||
No newline at end of file | No newline at end of file |
app/res/drawable/bus_stop.xml
Show First 20 Lines • Show All 394 Lines • ▼ Show 20 Lines | public int getMinNumberOfPassages(){ | ||||
if( routes.size() == 0) min = 0; | if( routes.size() == 0) min = 0; | ||||
else for (Route r : routes){ | else for (Route r : routes){ | ||||
if(r.numPassaggi()>0) | if(r.numPassaggi()>0) | ||||
min = Math.min(min,r.numPassaggi()); | min = Math.min(min,r.numPassaggi()); | ||||
} | } | ||||
if (min == Integer.MAX_VALUE) return 0; | if (min == Integer.MAX_VALUE) return 0; | ||||
else return min; | else return min; | ||||
} | } | ||||
public ArrayList<String> getRoutesNamesWithNoPassages(){ | |||||
ArrayList<String> mList = new ArrayList<>(); | |||||
if(routes==null || routes.size() == 0){ | |||||
return mList; | |||||
} | |||||
for(Route r: routes){ | |||||
if(r.numPassaggi()==0) | |||||
mList.add(r.getNameForDisplay()); | |||||
} | |||||
return mList; | |||||
} | |||||
//private void mergeRoute | //private void mergeRoute | ||||
} | } | ||||
No newline at end of file | No newline at end of file |
app/res/drawable/point_heading_icon.xml
Show First 20 Lines • Show All 394 Lines • ▼ Show 20 Lines | public int getMinNumberOfPassages(){ | ||||
if( routes.size() == 0) min = 0; | if( routes.size() == 0) min = 0; | ||||
else for (Route r : routes){ | else for (Route r : routes){ | ||||
if(r.numPassaggi()>0) | if(r.numPassaggi()>0) | ||||
min = Math.min(min,r.numPassaggi()); | min = Math.min(min,r.numPassaggi()); | ||||
} | } | ||||
if (min == Integer.MAX_VALUE) return 0; | if (min == Integer.MAX_VALUE) return 0; | ||||
else return min; | else return min; | ||||
} | } | ||||
public ArrayList<String> getRoutesNamesWithNoPassages(){ | |||||
ArrayList<String> mList = new ArrayList<>(); | |||||
if(routes==null || routes.size() == 0){ | |||||
return mList; | |||||
} | |||||
for(Route r: routes){ | |||||
if(r.numPassaggi()==0) | |||||
mList.add(r.getNameForDisplay()); | |||||
} | |||||
return mList; | |||||
} | |||||
//private void mergeRoute | //private void mergeRoute | ||||
} | } | ||||
No newline at end of file | No newline at end of file |
app/res/layout/bus_info_window.xml
Show First 20 Lines • Show All 394 Lines • ▼ Show 20 Lines | public int getMinNumberOfPassages(){ | ||||
if( routes.size() == 0) min = 0; | if( routes.size() == 0) min = 0; | ||||
else for (Route r : routes){ | else for (Route r : routes){ | ||||
if(r.numPassaggi()>0) | if(r.numPassaggi()>0) | ||||
min = Math.min(min,r.numPassaggi()); | min = Math.min(min,r.numPassaggi()); | ||||
} | } | ||||
if (min == Integer.MAX_VALUE) return 0; | if (min == Integer.MAX_VALUE) return 0; | ||||
else return min; | else return min; | ||||
} | } | ||||
public ArrayList<String> getRoutesNamesWithNoPassages(){ | |||||
ArrayList<String> mList = new ArrayList<>(); | |||||
if(routes==null || routes.size() == 0){ | |||||
return mList; | |||||
} | |||||
for(Route r: routes){ | |||||
if(r.numPassaggi()==0) | |||||
mList.add(r.getNameForDisplay()); | |||||
} | |||||
return mList; | |||||
} | |||||
//private void mergeRoute | //private void mergeRoute | ||||
} | } | ||||
No newline at end of file | No newline at end of file |
app/res/layout/map_popup.xml
Show First 20 Lines • Show All 394 Lines • ▼ Show 20 Lines | public int getMinNumberOfPassages(){ | ||||
if( routes.size() == 0) min = 0; | if( routes.size() == 0) min = 0; | ||||
else for (Route r : routes){ | else for (Route r : routes){ | ||||
if(r.numPassaggi()>0) | if(r.numPassaggi()>0) | ||||
min = Math.min(min,r.numPassaggi()); | min = Math.min(min,r.numPassaggi()); | ||||
} | } | ||||
if (min == Integer.MAX_VALUE) return 0; | if (min == Integer.MAX_VALUE) return 0; | ||||
else return min; | else return min; | ||||
} | } | ||||
public ArrayList<String> getRoutesNamesWithNoPassages(){ | |||||
ArrayList<String> mList = new ArrayList<>(); | |||||
if(routes==null || routes.size() == 0){ | |||||
return mList; | |||||
} | |||||
for(Route r: routes){ | |||||
if(r.numPassaggi()==0) | |||||
mList.add(r.getNameForDisplay()); | |||||
} | |||||
return mList; | |||||
} | |||||
//private void mergeRoute | //private void mergeRoute | ||||
} | } | ||||
No newline at end of file | No newline at end of file |
app/res/values-it/strings.xml
Show First 20 Lines • Show All 394 Lines • ▼ Show 20 Lines | public int getMinNumberOfPassages(){ | ||||
if( routes.size() == 0) min = 0; | if( routes.size() == 0) min = 0; | ||||
else for (Route r : routes){ | else for (Route r : routes){ | ||||
if(r.numPassaggi()>0) | if(r.numPassaggi()>0) | ||||
min = Math.min(min,r.numPassaggi()); | min = Math.min(min,r.numPassaggi()); | ||||
} | } | ||||
if (min == Integer.MAX_VALUE) return 0; | if (min == Integer.MAX_VALUE) return 0; | ||||
else return min; | else return min; | ||||
} | } | ||||
public ArrayList<String> getRoutesNamesWithNoPassages(){ | |||||
ArrayList<String> mList = new ArrayList<>(); | |||||
if(routes==null || routes.size() == 0){ | |||||
return mList; | |||||
} | |||||
for(Route r: routes){ | |||||
if(r.numPassaggi()==0) | |||||
mList.add(r.getNameForDisplay()); | |||||
} | |||||
return mList; | |||||
} | |||||
//private void mergeRoute | //private void mergeRoute | ||||
} | } | ||||
No newline at end of file | No newline at end of file |
Public contents are in Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) or GNU Free Documentation License (at your option) unless otherwise noted. · Contact / Register