[concurrency-interest] Traversal and removing elements from ConcurrentskipListSet

Dileep Mandapam dileep.mandapam at gmail.com
Tue May 16 08:43:18 EDT 2017


Environment details:-
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

 Removing an element while traversal . Sometimes elements are not removing
from concurrentskiplistset.

for( Element e : concurrentskiplistsetcollection) {

     if ( e is to be removed) {


My question is safe to use above to pattern to remove elements ?
Dileep M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20170516/4904e8b1/attachment.html>

More information about the Concurrency-interest mailing list