Iterator Issues
n
Who controls iteration?
n
Does collection know about iterator?
n
How robust is the iterator? (DP)
n
Who cleans up heap-based iterators?
n
How are recursive collections handled?
n
What about boundaries? (NullIterator)
Here are a few issues that you can think about as we look at some concrete examples.
For the most part, these issues all have relatively good solutions.