I have programmed an Algorithm that will change the passed list list.get(i).getValue().setValue("somvALUE");
to do its work.
But changing the list with setter also changes the original list. However, I still need the old List.
Is there a way to change the value only in the passed list?
EDIT: I solved my problem with a copy constructur