code: public int find(double x) {
  		if (x < xMinRangeLimit) return Integer.MIN_VALUE;
  		else if (x >= xMaxRangeLimit) return Integer.MAX_VALUE;
  		return findSmaller(ranges, x);
  	}
docs: Returns the index of the bin containing the specified coordinate.
  
  @param x the coordinate data value
  @return the index of the bin containing the coordinate value.