velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai <shinobu.ka...@gmail.com>
Subject Re: SortedMap/TreeMap in a tool does not sort
Date Tue, 05 Apr 2005 17:10:39 GMT
Hi Rob,

> I had assumed 'natural order' meant the order I put it in (never used
> SortedMap before...). The question's answers are correct because the
> keys are like q1, q2, q3.

Just for you.  ;)
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/LinkedHashMap.html

If you're using a version less than 1.4, you can use commons-collections
    http://jakarta.apache.org/commons/collections/

Best regards,
-- Shinobu

--
Shinobu Kawai <shinobu.kawai@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message