Shawn, Henri

Thanks for the quick replies.

Given that my lists has no equal objects I am going to go with the TreeMap.

I would think that default functionality of the Tag would output the values
in the order that they came in.  Just a suggestion...

Thanks

Michael



-----Original Message-----
From: Henri Yandell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 4:44 PM
To: Tag Libraries Users List
Subject: Re: Sorted Select values


Jakarta Commons Collection's SequencedHashMap would be my choice of use.
TreeMap has irritating issues with equal objects.

Hen

On Tue, 1 Oct 2002, Shawn Bayern wrote:

> On Tue, 1 Oct 2002, Holly, Michael wrote:
>
> > Is there not a method of sorting these to the way they were entered?
>
> HashMap does not guarantee any order.  You can use TreeMap for lexical
> ordering (or LinkedHashMap in JDK 1.4 for order preservation).
>
> --
> Shawn Bayern
> "JSTL in Action"   http://www.jstlbook.com
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to