Hi all,
I have an HashMap with key/value pair. The program processes each element of the hashMap, and should mark the HashMap element as "processed". i.e. I have the follwoing key/value pair.
1/"090003453bc454"
2/"090003453bc455"
3/"090003453bc456"
and so on...
So, when the program process each element, it should mark the key to a negative one. So, each process element should look like the following.
-1/"090003453bc454"
-1/"090003453bc455"
-1/"090003453bc456"
and so on...
So, my question is, how can I set the key to (-1) after processing the elements in the HashMap?
Please advise...
Thanks,