Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A562211ABD for ; Thu, 1 May 2014 12:21:24 +0000 (UTC) Received: (qmail 68484 invoked by uid 500); 1 May 2014 12:21:19 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 68151 invoked by uid 500); 1 May 2014 12:21:16 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 68116 invoked by uid 99); 1 May 2014 12:21:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2014 12:21:15 +0000 Date: Thu, 1 May 2014 12:21:15 +0000 (UTC) From: "Daniel Feist (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (COLLECTIONS-520) Add a CopyOnWrite implementation of Map MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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) 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)