This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Java in General and the fly likes changing count traversing items Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "changing count traversing items" Watch "changing count traversing items" New topic
Author

changing count traversing items

manu chaox
Ranch Hand

Joined: Apr 10, 2006
Posts: 110
Hi,

I need traverse an ArrayList which I want change.

I have an structure which will be change (ADD next item to traverse and REMOVE some item from traversing items) during traversing.

e.g.



Is it possible someways ?

Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3838

manu chaox wrote:Is it possible someways ?

What happened when you try it?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
wood burning stoves
 
subject: changing count traversing items