Simply put, I want a "map" of a string and an integer, but I want it to only ever have 1 set of a string and an integer, and I want the string (key) to also be replaceable with a new one.
Essentially:
Map<String, Integer> myMap = new HashMap<>();
myMap.put("minutes", 2);
... // myMap has only the minutes key and a value of 2.
myMap.put("hours", 5);
... // myMap now obviously has both the minutes and hours key, but I want only one
The reason I want this is so that I can later just so something like this:
String stringifiedMap = (myMap.key) + myMap.value.toString();
Which isn't possible with a normal map.