how to change the value of a map value in java code example Example: java hashmap set value myMap.put(key, value);