Introduction to the Iterator design pattern-The CodeGain

added by codegain
10/24/2010 9:05:39 PM

0 Kicks, 52 Views

The Iterator pattern provides a way of accessing elements of a collection sequentially, without knowing how the collection is structured. As an extension, the pattern allows for filtering elements in a variety of ways as they are generated.