question on iterators
"Krijgsheld, Ronald" <[email protected]> Wed, 25 Jun 2003 15:58:47 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.devel |
|---|---|
| Message-ID | <D913221A882FD31198D90008C75D690906BF0CB5@cwnl-ams-pri01.nl.compuware.com> |
Hello, I am interested in the lifespan of an iterator. What I mean is that I query on some factory all instances with refAllOfType and then get an iterator from that collection. While iterating over that collection I insert a lot of other thingies in the repository, but not anything of the type over which I am iterating. Now, my iteration stops after one step, while there are five elements in that collection. Do I use the iterator illegally? Bye, Ronald Krijgsheld -- The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.