Design Pattern Examples
Overview of object-oriented design patterns
iterator Directory Reference
Directory dependency graph for iterator:
iterator

Files

file  iterator/__init__.py [code]
 Python implementation of the Iterator Pattern example.
 
file  iterator_class.py [code]
 Implementation of the IteratorContainer_Class class, the IIterator interface, along with the implementations of the Iterator and ItemPair classes as used in the Iterator Pattern.
 
file  iterator_exercise.py [code]
 Implementation of the Iterator_Exercise() function as used in the Iterator Pattern.