Hacker News new | ask | show | jobs
by laurensr 1617 days ago
Do note that the created map is immutable. However, you could pass the created map to the constructor HashMap (or another type) to obtain a mutable copy of the Map created using Map.of