Nikolay Lebedev
12/21/2021, 2:35 PMMutableList
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?Klitos Kyriacou
12/21/2021, 2:54 PMNikolay Lebedev
12/21/2021, 3:15 PM