Collection with allow duplicate key
1 posts in topic
Flat View  Flat View

Posted By:   ricado_baraldi
Posted On:   Saturday, September 1, 2001 06:58 AM

How can I override a hashmap to allow duplicate values for a same key . Ex put all the duplicate element for same key in array/vector/list ? Can I overriding the methods ? How ?
Exist a collection for that (I don't want to use list,etc , something fast !)

Re: Collection with allow duplicate key

Posted By:   John_Zukowski  
Posted On:   Sunday, September 2, 2001 04:00 PM

What you are after is called a multimap. There is source for one in my Collections book. You can d/l source from Apress site.
About | Sitemap | Contact