22 |
AndroidTimeoutCache<String, StationBean> stationCache = new AndroidTimeoutCache<String, StationBean>(CACHE_TIMEOUT); |
AndroidTimeoutCache<String, StationBean> stationCache = new AndroidTimeoutCache<String, StationBean>(CACHE_TIMEOUT); |
23 |
|
|
24 |
|
|
25 |
double roundToPlaces(double value, int places) { |
static double roundToPlaces(double value, int places) { |
26 |
double pow = Math.pow(10, places); |
double pow = Math.pow(10, places); |
27 |
double temp = Math.round( value*pow ); |
double temp = Math.round( value*pow ); |
28 |
|
|