java hashmap remplacer

Hashmap<String, String> map = new HashMap<>();
map.put("Hello", "you");
map.replace("Hello", "World");
map.get("Hello"); // World
rennmaushunter