Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Need Java Help Java, Arraylist and removal

Name: Anonymous 2012-01-18 1:38

Every time I try to call ArrayList.remove() on an element while in a for each loop, Java throws a ConcurrentModificationException.  I need to remove an element in a for loop because in there is where I look through the objects to find objects which meet the criteria for removal.

Name: Anonymous 2012-01-18 20:28

>>48
1)Ex girlfriends who posts pictures of me "being her bitch" on myspace.

2)The neighbors dog. I swear if I hear that thing bark one more time at 3am, I'm gonna throw an m80 over the fence, and then call 911 to report that I heard a gunshot next door.

3)Carrots

4)Theo da Raadt from the OpenBSD project

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List