I have a class with a `MutableList` as it's proper...
# getting-started
n
I have a class with a
MutableList
as it's property. I want to iterate through this list and change values of elements. So I use
listIterator
and its
set
method to change element values. But when I exit a loop and print out a list from original object I see no changes. How do I change the original object?
k
Can you provide a code sample?
n
Ah, never mind, already solved that, sorry.