public BTree(BTree Parent) //BUILD NODE { this.Position = Position; this.Root = false;; this.Size = Parent.Size; KeySt = new KeysStore(this.Size, Parent.Comparer); //Children = new BTree[this.Size + 1]; Children = new long[this.Size + 1]; //ID = 0; this.Comparer = Parent.Comparer; Leaf = true; }
public BTree(int Size, IComparer <IPerson> Comparer) //BUILD ROOT { this.Position = Position; this.Root = true; this.Size = (Size * 2) - 1; KeySt = new KeysStore(this.Size, Comparer); this.Comparer = Comparer; //Children = new BTree[this.Size + 1]; Children = new long[this.Size + 1]; Leaf = true; //ID = 0; }