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 (optional operation). The behavior of this operation is undefined if the specified collection is modified while the operation is in progress. (Note that this will occur if the specified collection is this list, and it's nonempty.)
public boolean addAll(
java.util.Collection<?>
)
|
Parameters
- c
- collection containing elements to be added to this list
Return Value
true if this list changed as a result of the call