Java Map -Beispiel

map.merge(keyValue[0], Long.parseLong(keyValue[1]), (oldValue, newValue) -> oldValue + newValue);
Inna Kim