Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.java.programmer Subject: Re: Generics for a multiplevalue hashmap Date: Tue, 19 Jul 2011 03:59:52 -0700 Organization: Canadian Mind Products Lines: 14 Message-ID: References: <2f4c5543-ceef-4cdb-8ff7-b978f30766e0@glegroupsg2000goo.googlegroups.com> Reply-To: Roedy Green NNTP-Posting-Host: RCd/Ul4tyxGUBII8WGwa5g.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 6.00/32.1186 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6281 On Mon, 18 Jul 2011 14:31:33 -0700 (PDT), Alexis Berry wrote, quoted or indirectly quoted someone who said : >I want to create a HashMap which has a list for each key. Therefore I can store more than one value for each key. >I know this breaks the true use of a hashmap but I want a datastruture that takes one key and hold multiple value) I invented such a beast for String multivalues. Source: https://wush.net/websvn/mindprod/filedetails.php?repname=mindprod&path=%2Fcom%2Fmindprod%2Freplicatorcommon%2FMultiProperties.java -- Roedy Green Canadian Mind Products http://mindprod.com One thing I love about having a website, is that when I complain about something, I only have to do it once. It saves me endless hours of grumbling.