public Leaf Insert(ulong hashid, IObjectBox obj) { Leaf leaf = new Leaf(this, obj); this.leaves.Add(hashid, leaf); Node root = this.root; this.root = SubtreeInsert(root, leaf); //this.root = cp.subtreeInsert(root, leaf, this); leaf.STAMP = GetStamp(); leaf.AddPairs(this); //.AddPairs(this); IncrementStamp(); return(leaf); }
public Leaf Insert(ulong hashid, IObjectBox obj) { Leaf leaf = new Leaf(this, obj); this.leaves.Add(hashid, leaf); Node root = this.root; this.root = SubtreeInsert(root, leaf); //this.root = cp.subtreeInsert(root, leaf, this); leaf.STAMP = GetStamp(); leaf.AddPairs(this); //.AddPairs(this); IncrementStamp(); return leaf; }