[concurrency-interest] ConcurrentHashSet?

David M. Lloyd david.lloyd at redhat.com
Fri Jul 31 10:58:53 EDT 2009

On 07/31/2009 09:17 AM, Christian Vest Hansen wrote:
> I have on multiple occasions found myself wanting a ConcurrentHashSet
> that is to ConcurrentHashMap as HashSet is to HashMap. Yet I find no
> such class in java.util.concurrent.

You could use use Collections.<XX>newSetFromMap(new 


More information about the Concurrency-interest mailing list