Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    I'm pretty sure it will throw a ConncurrentModificationException before the underlying collection is modified, though I could be wrong. Commented Jan 1, 2011 at 1:46
  • It will attempt to detect concurrent modification and throw an exception. But if you're doing anything with threads, it can't make any promises. Absolutely anything can happen, including breakage. Commented Apr 18, 2011 at 14:03