How to Avoid ConcurrentModificationException when using an Iterator
Java Collection classes are fail-fast which means that if the Collection will be changed while some thread is traversing over it using iterator, the iterator.next() will throw ConcurrentModificationExc
转载
2015-03-27 11:48:32 ·
1038 阅读 ·
0 评论