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