读书人

Concurrent Set implementations in J

发布时间: 2012-10-31 14:37:32 作者: rapoo

Concurrent Set implementations in Java 6

Concurrent Set implementations in Java 6

An interesting question came up on the?jsr166?concurrency interest mailing list recently which I felt was worthy of mention.? Why is there no ConcurrentHashSet equivalent of the ConcurrentHashMap data structure and how does one achieve the same concurrency and performance characteristics of the latter while maintaining the uniqueness semantics of the former? Currently there exist a few different ways of making a Set concurrent.

读书人网 >编程

热点推荐