temp temp ha scritto:
I have a HashMap with some data .I must alter the Map by replacing the
keys with their upper case.
Ok first of all you cannot modify a HashMap while you are iterating it.
But your problem has a solution.
Iterate the map and store into another map the key-value pair (with the
key turned to uppercase)
Then clear the original map and then call "putAll"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]