commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Feist (JIRA)" <>
Subject [jira] [Created] (COLLECTIONS-520) Add an implementation of CopyOnWriteMap
Date Thu, 01 May 2014 12:04:15 GMT
Daniel Feist created COLLECTIONS-520:

             Summary: Add an implementation of CopyOnWriteMap
                 Key: COLLECTIONS-520
             Project: Commons Collections
          Issue Type: New Feature
          Components: Map
    Affects Versions: 4.0
            Reporter: Daniel Feist

Java provides implementations for List's and Set's but Map is missing.

Jersey uses an implementation (com.sun.jersey.client.impl.CopyOnWriteHashMap<K, V>)
but it doesn't fully implement Map because entrySet/keySet/values are not mutable.

I implemented a CaseInsensitiveCopyOnWriteMap in Mule and while it serves our purposes it's
not 100% complete and isn't thread-safe, and it would be good to see an implementation in
commons.  (BTW: I plan to extend from AsbtractHashedMap once we moved to 4.0/4.1).  


This message was sent by Atlassian JIRA

View raw message