query: ConcurrentModificationException with 2 Iterators and one ArrayList
positive_passages.docid: 171
positive_passages.text: Iterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loop
negative_passages.docid: 1651
negative_passages.text: IllegalMonitorStateException on wait() call
negative_passages.docid: 111535
negative_passages.text: Why does the ArrayList implementation use Object[]?
negative_passages.docid: 11537
negative_passages.text: What is IndexOutOfBoundsException? How can I fix it?
negative_passages.docid: 1087
negative_passages.text: The calling thread cannot access this object because a different thread owns it
negative_passages.docid: 480
negative_passages.text: What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it?
negative_passages.docid: 29351
negative_passages.text: Getting a ConcurrentModificationException thrown when removing an element from a java.util.List during list iteration?
negative_passages.docid: 89947
negative_passages.text: ConcurrentModificationException when adding inside a foreach loop in ArrayList
negative_passages.docid: 102877
negative_passages.text: Using the iterator variable of foreach loop in a lambda expression - why fails?
negative_passages.docid: 113320
negative_passages.text: How to modify a Collection while iterating using for-each loop without ConcurrentModificationException?
negative_passages.docid: 97798
negative_passages.text: How to iterate over a container in a thread-safe way?
negative_passages.docid: 80511
negative_passages.text: Difference between moving an Iterator forward with a for statement and a while statement
negative_passages.docid: 53214
negative_passages.text: The built-in iterator for java's PriorityQueue does not traverse the data structure in any particular order. Why?
negative_passages.docid: 86430
negative_passages.text: Can anyone explain me over ConcurrentModificationException?
negative_passages.docid: 44760
negative_passages.text: Synchronizing on an object in java, then changing the value of the synchronized-on variable
negative_passages.docid: 156341
negative_passages.text: How this java code produces deadlock?
negative_passages.docid: 153948
negative_passages.text: Add variables to Arraylist and it replaces all previous elements , while variables are not static