Pattern ITERATOR (cont.)
Solution
Define an iterator class
External
Fetches one element at a time
Each iterator object needs to keep track of the position of the next element to fetch
prev
|
top
|
next