Link Details

Link 299301 thumbnail
User 398735 avatar

By lyndsey
Published: Nov 23 2009 / 12:27

The iterators of the Collection implementations of the Java runtime throw a ConcurrentModificationException[1] when they detect that another thread has modified the Collection while a thread is iterating over it. Such iterators are generally called fail-fast iterators.
  • 18
  • 0
  • 3143
  • 0
User 388907 avatar

MCII replied ago:

0 votes Vote down Vote up Reply

So, the answer is 'no and they shouldn't'.

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java