[ 
https://issues.apache.org/jira/browse/COLLECTIONS-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Feist updated COLLECTIONS-520:
-------------------------------------

    Summary: Add a CopyOnWrite implementation of Map  (was: Add an 
implementation of CopyOnWriteMap)

> Add a CopyOnWrite implementation of Map
> ---------------------------------------
>
>                 Key: COLLECTIONS-520
>                 URL: https://issues.apache.org/jira/browse/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).  
> See:  
> https://github.com/mulesoft/mule/blob/716893e6231be47dccd3cfba9619762e146b4b84/core/src/main/java/org/mule/util/CopyOnWriteCaseInsensitiveMap.java



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to