Re: Serializable alternative to MultiHashMap

2010-03-22 Thread Jörg Schaible
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 MultiValueMa

Re: Serializable alternative to MultiHashMap

2010-03-19 Thread Tom
There is nothing wrong with ArrayList> You only need to write the correct code for adding and lookup. Often things like this are used: Map> With code like: if (!map.containsKey(s)) map.put(s, new ArrayList()); map.get(s).add(ome); On 2010-03-19 23:44, Martin Gainty wrote: i had a re

RE: Serializable alternative to MultiHashMap

2010-03-19 Thread Martin Gainty
i had a requirement which called for accumulating a collection of known objects so i used parameterised ArrayList e.g. ArrayList I have yet to discover any package which will support Collection(s) of Collection(s) anyone ? Martin Gainty __ Verzicht