Software Engineering KB

Home

❯

05 Software Design and Architecture

❯

01 Design Patterns

❯

01 Concept

❯

Iterator

Iterator

Feb 10, 20261 min read

  • design-patterns
  • behavioral
  • iterator

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.

Key Properties

  • Internal vs External Iterator
  • Iterable Protocol
  • Lazy Evaluation

Related

  • Composite (iterate tree structures)
  • Visitor (traverse and operate)

design-patterns behavioral iterator


Graph View

  • Iterator
  • Key Properties
  • Related

Backlinks

  • Behavioral Patterns
  • Composite
  • Visitor

Created with Quartz v4.5.2 © 2026

  • GitHub