kup time, and HashMaps are noted
> to be quite heavy when it
> > comes to memory use so Id say the TreeMap is a
> better choice. :-)
> >
> > -Original Message-
> > From: O_Parthasarathy Kesavaraj
> [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, 8 July 200
> -Original Message-
> From: O_Parthasarathy Kesavaraj [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 8 July 2003 13:48
> To: 'Struts Users Mailing List'
> Subject: RE: Urgent!!!Sorting Problem while loading from HashMap
>
>
> Thanks Navjot and Andrew
y, 8 July 2003 13:48
To: 'Struts Users Mailing List'
Subject: RE: Urgent!!!Sorting Problem while loading from HashMap
Thanks Navjot and Andrew..
Meanwhile i tried to convert it to TreeMap.It is working fine..But Andrew..
what is the difference between TreeMap and SequencedHashMap b'
w Hill[SMTP:[EMAIL PROTECTED]
> Reply To: Struts Users Mailing List
> Sent: Tuesday, July 08, 2003 10:45 AM
> To: Struts Users Mailing List
> Subject: RE: Urgent!!!Sorting Problem while loading from HashMap
>
> HashMaps will rearrange stuff internally and wil
/collections/api/org/apache/commons/collect
ions/SequencedHashMap.html
-Original Message-
From: O_Parthasarathy Kesavaraj [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 8 July 2003 13:17
To: 'Struts Users Mailing List'
Subject: Urgent!!!Sorting Problem while loading from HashMap
Hi
I am
-navjot
|-Original Message-
|From: O_Parthasarathy Kesavaraj [mailto:[EMAIL PROTECTED]
|Sent: Tuesday, July 08, 2003 10:47 AM
|To: 'Struts Users Mailing List'
|Subject: Urgent!!!Sorting Problem while loading from HashMap
|
|
|Hi
|I am loading a html:select box with property as the
Hi
I am loading a html:select box with property as the key in the HashMap( ID
corresponding to the value which is displayed) and labelproperty as the
value.When i am fetching from the database i am sorting by the value and
then only loading in the HashMap.But when i see the select box the val
7 matches
Mail list logo