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

Joshua Bloch josh at bloch.us
Fri May 12 12:23:11 EDT 2006


No such animal exists (yet).

      Josh

On 5/12/06, Tutika Chakravarthy <chakritsus at yahoo.com> wrote:
> 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
> _______________________________________________
> Concurrency-interest mailing list
> Concurrency-interest at altair.cs.oswego.edu
> http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest
>



More information about the Concurrency-interest mailing list