Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 1011 invoked from network); 12 Aug 2005 01:05:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Aug 2005 01:05:06 -0000 Received: (qmail 9333 invoked by uid 500); 12 Aug 2005 01:04:59 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 9223 invoked by uid 500); 12 Aug 2005 01:04:58 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 9195 invoked by uid 99); 12 Aug 2005 01:04:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2005 18:04:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [203.89.192.138] (HELO mail.app.aconex.com) (203.89.192.138) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2005 18:05:18 -0700 Received: from herald.aconex.com (herald.mel.office.aconex.com [192.168.0.211]) by mail.app.aconex.com (Postfix) with ESMTP id B65D35B8040 for ; Fri, 12 Aug 2005 11:04:53 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by herald.aconex.com (Postfix) with ESMTP id A421464008 for ; Fri, 12 Aug 2005 11:04:53 +1000 (EST) Received: from herald.aconex.com ([127.0.0.1]) by localhost (herald [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32031-02-8 for ; Fri, 12 Aug 2005 11:04:52 +1000 (EST) Received: from [192.168.0.178] (unknown [192.168.0.178]) by herald.aconex.com (Postfix) with ESMTP id E1B4C64007 for ; Thu, 11 Aug 2005 21:04:52 -0400 (EDT) Message-ID: <42FBF5B4.6040603@aconex.com> Date: Fri, 12 Aug 2005 11:04:52 +1000 From: Alice Boxhall User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: [Collections] MultiHashMap - retrieving values in the order in which they were added Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at aconex.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello all, Just a quick question re MultiHashMap: For my current project I need to be able to ensure that if I do map.put("foo", a); map.put("foo", b); ((Collection)map.get("foo")).iterator(); I will get a and b back in that order. Obviously with the current implementation this will be the case, but I was wondering if there was some way that I could ensure that in case the implementation changes. If not, no big deal, I can easily work around it. Cheers, Alice --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org