Skip to content

Latest commit

 

History

History

iterator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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