your original solution is ok if it's ok that clien...
# announcements
k
your original solution is ok if it's ok that clients of the API may cast the returned list to
MutableList<T>
and modify it (which of course won't modify the original list)