protected final int bucketFor(double lon){
  return (int)Math.floor(normalizeLon(lon) / 360.0 * (double)nbuckets);
}

protected final int bucketFor ( double lon ) { return ( int ) Math . floor ( normalizeLon ( lon ) / 360.0 * ( double ) nbuckets ) ; }
figure out what bucket a particular longitude goes in .
