ListIterator Presented by: David Leblanc
Information Iterate over collection without showing its internal structure ListIterator is a subinterface of iterator ListIterator normally support polymorphic iteration, that is it can iterate over any kind of collection
Internal ListIterator Easier to implement Only 1 iterator can exist at a time Created as an inner class in collection class
External ListIterator Harder to implement Can have as many iterators as desired Every iterator keeps track of its own state Created as an outside class
Example Internal ListIterator
Example External ListIterator