velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Koberg <...@koberg.com>
Subject Re: SortedMap/TreeMap in a tool does not sort
Date Tue, 05 Apr 2005 17:19:15 GMT
Shinobu Kawai wrote:
> 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


hmmmm... it seems that has just appeared in my (1.4.2) api... :)

thanks,
-Rob

> 
> 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