Example #1
0
            public BinarySearchTreePostOrderEnumerator(BinarySearchTreeMap <TKey, TValue> tree)
            {
                this.tree = tree;

                //Build queue
                traverseQueue = new Queue <BSTMapNode <TKey, TValue> >();
                visitNode(this.tree.Root);
            }
Example #2
0
 public void Dispose()
 {
     current = null;
     tree    = null;
 }