Please explain Iterator Pattern in JAVA by a simple example,Thanks in advance [ November 11, 2008: Message edited by: simorgh hossein ]
Beyond the seas there is a town<br />In which windows open to manifestation<br />There rooftops quarter pigeons that looks at the jets of human intelligence
The java implementationof iterator pattern allows user to traverse carious types of data sets without worrying about the underlying implementation of collection. Since clients simply interact with the iterator for themselves. Some will allow full access to the underlying data sets while others may restrict certain functionalities, such as removing items.
---- "Design patterns" by Jason McDonald
For example, just open src.zip in your JAVA_HOME or whait a few ours till I found my old examples