[stringtemplate-interest] Re: strange iteration problems when using HashMaps

Uwe Simm uwes at cadence.com
Mon Aug 21 12:12:21 PDT 2006


hi,

just digged into this and instead of calling the setAttribute directly
with the HashMap
as in the original mail:

pack.setAttribute("a", h);

now wrapping it with

pack.setAttribute("a", new Object[] {h})

work, independently from the number of pack.setAttribute invocations.

regards
/uwe


------------------------------------------------------------------------
---------------
    Uwe Simm                                Sr Technical Leader
CoreComp, Europe
                                            - Strategic Sales Programs -

 e  mailto:uwes at cadence.com
                                            Cadence Design Systems
 C  +49 172 8556816                         Mozartstrasse 2
 O  +49 89 4563 1825                        85622 Feldkirchen (Munich)
 F  +49 89 4563 1980                        Germany

Support :  http://www.cadence.com or http://sourcelink.cadence.com


More information about the stringtemplate-interest mailing list