Design Pattern Examples
Overview of object-oriented design patterns
iterator_exercise.py File Reference

Implementation of the Iterator_Exercise() function as used in the Iterator Pattern. More...

Go to the source code of this file.

Namespaces

namespace  DesignPatternExamples_python
 The DesignPatternExamples_python package, containing 20 examples of design patterns, each in their own namespace.
 
namespace  DesignPatternExamples_python.iterator
 
namespace  DesignPatternExamples_python.iterator.iterator_exercise
 

Functions

def Iterator_Exercise ()
 Example of using the Iterator Pattern.
 

Detailed Description

Implementation of the Iterator_Exercise() function as used in the Iterator Pattern.

Definition in file iterator_exercise.py.