Assign rhs to this list. The current list will now become another
reference to rhs, unless rhs is null, in which case the current
list will become empty. If rhs refers to the current list nothing will
happen.
All the previous list elements that have no more references to them
will be destroyed; this leads to a O(n) complexity.
Assign rhs to this list. The current list will now become another reference to rhs, unless rhs is null, in which case the current list will become empty. If rhs refers to the current list nothing will happen.
All the previous list elements that have no more references to them will be destroyed; this leads to a O(n) complexity.