While doing a get()
on a MutableListMultimap
, the list being returned is made unmodifiable (referring to code in AbstractMutableMultimap#get()
).
What is the thought process behind this ? If the collection being used as value in Multimap
is of type MutableList
wouldn't it make more sense to keep it that way ?
If not, what is the right way to modify that collection ?