summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/data/NonCMEIterator.java
AgeCommit message (Collapse)Author
2022-09-27GPLize projectBen Culkin
Finally deciding to move things into a proper license; which I can do since I've never accepted (or had :( ) a pull request from another person
2020-11-21Add iterators which don't throw ConcurrentModificationExceptionBen Culkin
This adds two iterators (one iterator, one ListIterator) which are guaranteed not to throw a ConcurrentModificationException. The intended use case is allowing you to iterate over a list and modify it at the same time. Note that this will still give odd behavior in the presence of actual concurrency, but that is a deliberate tradeoff.