how edit values in java dictionary code example Example: java hashmap set value myMap.put(key, value);