I\'m having problems with Iterator.remove() called on a HashSet.
I\'ve a Set of time stamped objects. Before adding a new item to the Set, I loop through the set, i
The Java HashSet has an issue in "remove()" method. Check the link below. I switched to TreeSet and it works fine. But I need the O(1) time complexity.
https://bugs.openjdk.java.net/browse/JDK-8154740