how to find key and edit value in a map code example Example: java hashmap set value myMap.put(key, value);