Skip to content
Daniel edited this page Mar 26, 2015 · 2 revisions

Intent:

This pattern is used to get a way to access the elements of a collection object in sequential manner without any need to know its underlying representation.

Structure:

Example:

Reference:

http://openhome.cc/Gossip/DesignPattern/IteratorPattern.htm http://www.tutorialspoint.com/design_pattern/iterator_pattern.htm

Clone this wiki locally