Beispiel #1
0
            public TreeEnumerator(Tree t, Node n)
            {
                tree    = t;
                mods    = t.m_modCount;

                // foreach calls MoveNext before starting.  Create a dummy node before the first one.
                current = new Node(null, null, null) {right = First(n)};
            }
Beispiel #2
0
 public TreeEnumerator(Tree t)
     : this(t, t.m_root)
 {
 }