Hello folks,
I want to clone an arrayList, but with different references (2 objects).
I tried to create a new arraylist and use de method addAll() passing the list, but it still continue with the same reference, if i modify some propertie of the new arrayList, the same propertie from the original list is modified too..
How can i clone an arraylist with 2 distinct objects?