I have a map like this.
HashMap<String, Integer> map = new HashMap<String, Integer>();
map.put("sun",0);
map.put("Sunday",0);
map.put("sund",0);
map.put("Mon", 1);
map.put("Tues", 2);
map.put("Wed", 3);
I want to change the entries having the value 0 to new value 7.ie, something like this:
map.put("sun",7);
map.put("Sunday",7);
map.put("sund",7);
How can i do this ?? Thanks