tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject Re: Sorted Select values
Date Tue, 01 Oct 2002 21:43:38 GMT
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:taglibs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message