[concurrency-interest] Suitable replacement for LinkedHashSet in util.concurrent package

Tutika Chakravarthy chakritsus at yahoo.com
Fri May 12 06:52:14 EDT 2006


Hi,
Is there any Suitable replacement class for
LinkedHashSet in java.util.concurrent package.

I have seen javadocs for ConcurrentSkipListSet and
CopyOnWriteArraySet. But both of them don't maintain
the order of elements the way they are inserted into.

LinkedHashSet maintains insertion-order while
iterating.

I would like to know whether any other concurrent set
is avaible which behaves in a similar way.


Tutika

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Concurrency-interest mailing list