question: public static long locationAtTick ( GeoTimeSerie gts , long tick ) { if ( null == gts . locations ) { return GeoTimeSerie . NO_LOCATION ; } sort ( gts , false ) ; int idx = Arrays . binarySearch ( gts . ticks , 0 , gts . values , tick ) ; if ( idx < 0 ) { return GeoTimeSerie . NO_LOCATION ; } else { return gts . locations [ idx ] ; } }
target:  Return the location in a Geo Time Serie at a given timestamp. The GeoTimeSerie instance will be sorted if it is not already.