public bool MoveNext() { if (tree.isEmpty()) { return(false); } if (initialState == true) { initialState = false; c = tree.treeMinimum(); } else { c = tree.treeSuccessor(c); } return(c != tree.NIL); }
internal bool isEmpty() { return(tree.isEmpty()); }