Hi,
I am trying to define a map of Long/Integer values. I have tried the following but the map values are of type String.
<map>
<entry key="K1">
<value>30000</value>
</entry>
<entry key="K2">
<value>20000</value>
</entry>
<entry key="K3">
<value>20000</value>
</entry>
</map>
I understand that you can't have primitive types (int/long) in a map. So it has to be a Integer/Long. Similar XML in simple properties converts them to integers. I am wondering if there is a way I can specify the type of the value.
I'd be grateful if someone can shed some light on this.
Thanks
Roshan


Reply With Quote
