previous | start | next

## Iterator Pattern

- Names in pattern are examples
- Names differ in each occurrence of pattern

Name in Design Pattern | Actual Name (linked lists)
Aggregate | List
ConcreteAggregate | LinkedList
Iterator | ListIterator
ConcreteIterator | anonymous class implementing ListIterator
createIterator() | listIterator()
next() | next()
isDone() | opposite of hasNext()
currentItem() | return value of hasNext()

previous | start | next