Appends all of the elements in the specified Collection to the end of this list, in the order that they are returned by the specified Collection's Iterator.
Appends all of the elements in the specified Collection to the end of this list, in the order that they are returned by the specified Collection's Iterator.This method has a time complexity of O(M), with M being the size of the collection whose elements are added.