# File lib/facet/harray.rb, line 356
  def reindex
    nha, j, k, tl = HArray.new, 0, 0, self.length
    while k < tl
      if self.has_key?(j)
        nha.set(k,self.fetch(j))
        j+=1; k+=1
      else
        j+=1
      end
    end
    nha
  end