set(index, newElem);
/*
Insert passed arg "newElem" into position "index"
Return previous (replaced) elem at "index"
Valid "index" values are between 0 and "size - 1"
If "index" is invalid, throws exception:
"(set) Index %d is out of bounds"
*/
node.setData(newElem);
addAll(otherDynList);
/*
Add (append) all elements from "otherDynList" into "this" list.
The newly added elements will retain their order (as they have in otherDynList)
All existing elements are preserved and will precede (be before) the newly added elements.
No return value.
*/