I have a variable of type List<RelationHeader>. Now I want to copy all the elements in this list to a new list, but I want to actually copy all the members by ...
List<RelationHeader>
Is clone() in java a shallow copy?
clone()
Eventually this gets to the clone() method of Object (the uppermost class), which creates a new instance of the same ...