Re: Serializable alternative to MultiHashMap
Hi Adelino, Reis Da Rocha, Adelino (NSN - PT/Aveiro) wrote at Wednesday, 17. March 2010 19:28: Hi, I have been using MultiHashMap and according to documentation this objects has been set as deprecated and it is recomended that we use MultiValueMap however MultiValueMap is not serializable. Is there any serializable alternative to MultiValueMap ? Case not, why do you decided to deprecate MultiHashMap before providing a Serializable alternative ? Is it expected MultiValueMap to be serializable in the near future ? Please open a JIRA issue about this! I am sure it will be handled for the next release then. - Jörg - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
Re: Serializable alternative to MultiHashMap
There is nothing wrong with ArrayListArrayListOMElement You only need to write the correct code for adding and lookup. Often things like this are used: MapString, ArrayListOMElement With code like: if (!map.containsKey(s)) map.put(s, new ArrayListOMElement()); map.get(s).add(ome); On 2010-03-19 23:44, Martin Gainty wrote: i had a requirement which called for accumulating a collection of known objects so i used parameterised ArrayList e.g. ArrayListOMElement I have yet to discover any package which will support Collection(s) of Collection(s) anyone ? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Subject: Serializable alternative to MultiHashMap Date: Wed, 17 Mar 2010 19:28:04 +0100 From: adelino.reis_da_ro...@nsn.com To: user@commons.apache.org Hi, I have been using MultiHashMap and according to documentation this objects has been set as deprecated and it is recomended that we use MultiValueMap however MultiValueMap is not serializable. Is there any serializable alternative to MultiValueMap ? Case not, why do you decided to deprecate MultiHashMap before providing a Serializable alternative ? Is it expected MultiValueMap to be serializable in the near future ? Regards, Adelino. _ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_2 - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
RE: Serializable alternative to MultiHashMap
i had a requirement which called for accumulating a collection of known objects so i used parameterised ArrayList e.g. ArrayListOMElement I have yet to discover any package which will support Collection(s) of Collection(s) anyone ? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Subject: Serializable alternative to MultiHashMap Date: Wed, 17 Mar 2010 19:28:04 +0100 From: adelino.reis_da_ro...@nsn.com To: user@commons.apache.org Hi, I have been using MultiHashMap and according to documentation this objects has been set as deprecated and it is recomended that we use MultiValueMap however MultiValueMap is not serializable. Is there any serializable alternative to MultiValueMap ? Case not, why do you decided to deprecate MultiHashMap before providing a Serializable alternative ? Is it expected MultiValueMap to be serializable in the near future ? Regards, Adelino. _ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_2
Serializable alternative to MultiHashMap
Hi, I have been using MultiHashMap and according to documentation this objects has been set as deprecated and it is recomended that we use MultiValueMap however MultiValueMap is not serializable. Is there any serializable alternative to MultiValueMap ? Case not, why do you decided to deprecate MultiHashMap before providing a Serializable alternative ? Is it expected MultiValueMap to be serializable in the near future ? Regards, Adelino.