code: public static final int searchX(Point[] points, Point key)
      {
          return Arrays.binarySearch(points, key, xcomp);
      }
docs: Searches given key in array in x-order
  @param points
  @param key
  @return Like in Arrays.binarySearch
  @see java.util.Arrays