previous |
start |
next
Iterator Pattern
Context
- An aggregate object contains element objects
- Clients need access to the element objects
- The aggregate object should not expose its internal
structure
- Multiple clients may want independent access
previous |
start |
next