/[projects]/android/TrainInfo/src/dk/thoerup/traininfo/provider/DebugProvider.java
ViewVC logotype

Diff of /android/TrainInfo/src/dk/thoerup/traininfo/provider/DebugProvider.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 432 by torben, Sat Oct 3 10:55:43 2009 UTC revision 433 by torben, Sat Oct 10 11:30:08 2009 UTC
# Line 63  public class DebugProvider implements De Line 63  public class DebugProvider implements De
63                  station.setDistance(1700);                                station.setDistance(1700);              
64                  station.setId(1);                  station.setId(1);
65                  station.setLatitude(56.0);                  station.setLatitude(56.0);
66                  station.setLongitude(10.0);                  station.setLongitude(10.0);            
67                    stations.add(station);
68                    
69                    station = new StationBean();
70                    station.setName("Gåserød");          
71                    station.setDistance(5300);              
72                    station.setId(2);
73                    station.setLatitude(58.0);
74                    station.setLongitude(10.0);            
75                    stations.add(station);
76                                    
77                    station = new StationBean();
78                    station.setName("Pladerballe");        
79                    station.setDistance(15600);            
80                    station.setId(3);
81                    station.setLatitude(52.0);
82                    station.setLongitude(11.0);            
83                  stations.add(station);                  stations.add(station);
84                                    
85                  return stations;                  return stations;
# Line 76  public class DebugProvider implements De Line 91  public class DebugProvider implements De
91          }          }
92                    
93          @Override          @Override
94          public boolean lookupStations(String name) {          public boolean lookupStationsByName(String name) {
95                    return true;
96            }
97            
98            
99    
100            @Override
101            public boolean lookupStationsByIds(String ids) {
102                  return true;                  return true;
103          }          }
104    

Legend:
Removed from v.432  
changed lines
  Added in v.433

  ViewVC Help
Powered by ViewVC 1.1.20