Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 230 Bytes

File metadata and controls

11 lines (8 loc) · 230 Bytes

Iterator

Used to traverse datas inside a collection.

An iterator will tell if there is available data to be traverse in a collection.

In this pattern we can traverse any kind of collection:

  • Simple List
  • tree
  • stack
  • etc