[stringtemplate-interest] Iterator in reverse order
John Snyders
jjsnyders at rcn.com
Tue Mar 18 15:16:55 PDT 2008
I think I would wrap the List in a custom List that gives out a reverse
iterator when the iterator method is called.
Pass the wrapper to ST and it will use it like a normal list.
You might take a look at ReverseListIterator from commons collections
http://commons.apache.org/collections/api-release/index.html
-John
Sriram Gopal wrote:
> Please let me know if there is a way of obtaining the iteration value
> in reverse order (n to 0 instead of 0 to n).
>
> -Sriram
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org:8080/mailman/listinfo/stringtemplate-interest
>
>
More information about the stringtemplate-interest
mailing list