Iterator
← Back to Behavioral Patterns
Sequential access to collection elements. Provide a way to access elements of an aggregate object sequentially without exposing its underlying representation. Decouples traversal algorithms from the collection’s structure.