First page Back Continue Last page Overview Graphics
Implementation:
Internal (“Passive”) Iterators
- Con: Hides complex position from client
- Con: Less flexible (like “for” loop)
- Con: No synchronized traversals
(MergeSort)
- Con: Info accumulated during traversal must be stored globally or statically
(or passed as Iterator parameter)
- See also: http://sw-eng.falls-church.va.us/AdaIC/docs/style-guide/83style/style-t.txt