VelocityDb.Collection.Spatial.NodeLeaf.reorganize C# (CSharp) Méthode

reorganize() private méthode

private reorganize ( VelocityDb.Collection.Spatial.RTree rtree ) : void
rtree VelocityDb.Collection.Spatial.RTree
Résultat void
    internal override void reorganize(RTree rtree)
    {
      int countdownIndex = rtree.maxNodeEntries - 1;
      for (int index = 0; index < entryCount; index++)
      {
        if (entries[index] == null)
        {
          while (entries[countdownIndex] == null && countdownIndex > index)
            countdownIndex--;
          entries[index] = entries[countdownIndex];
          entries[countdownIndex] = null;
        }
      }
    }