File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Question about Iterator Pattern ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Question about Iterator Pattern ?" Watch "Question about Iterator Pattern ?" New topic

Question about Iterator Pattern ?

Haroldo Nascimento
Ranch Hand

Joined: Aug 14, 2003
Posts: 79
Multiple iterators can retraversal the same collection simultaneously ?
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
yes. That's the point of iterators.
Some old designs build the traversal into the collection itself, but that limits it to only one client iterating through it at once.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Haroldo Nascimento
Ranch Hand

Joined: Aug 14, 2003
Posts: 79
I can say that:
Does Iterator design pattern suport traversing the same collection in diferente order ?
Does Iterator design pattern performance task to each object in the collection ?
jQuery in Action, 3rd edition
subject: Question about Iterator Pattern ?
It's not a secret anymore!