my throw follow exception code:
java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:761)
at java.util.LinkedList$ListItr.next(LinkedList.java:696)
at java.util.AbstractCollection.addAll(AbstractCollection.java:305)
at java.util.LinkedHashSet.<init>(LinkedHashSet.java:152)
...
I want to ConcurrentLinkedHashSetfix it
but I found ConcurrentSkipListSetin java.util.concurrent, this TreeSet, notLinkedHashSet
any way to get ConcurrentLinkedHashSetin jdk6.0?
thanks for the help:)
Koerr source
share