I have a Map<Something, List<String>> map.
I want to remove a String from the List<String>.
Is that possible ? How do I do that ?
I don’t want to remove the mapping, just alter the ‘value’ of an entry.
I have tried map.values().remove("someString"), but that doesn’t seem to work.
Try
map.get(somethingKey).remove("someString").