Glossary: Java Beyond the Basics
ConcurrentModificationException
The exception thrown when you remove from a list inside a for-each loop, because the loop notices the list changed. Use an Iterator or removeIf instead.
Glossary: Java Beyond the Basics
The exception thrown when you remove from a list inside a for-each loop, because the loop notices the list changed. Use an Iterator or removeIf instead.