Iterator
Intent
provide a way to access the elements of an aggregate sequentially without exposing the underlying representation
Applicability
uniform traversal interface over different structures
provide different traversals
Structure
Iterator
ConcreteIterator
Aggregate
ConcreteAggregate
Previous slide
Next slide
Back to first slide
View graphic version