addSeveral
Adds provided number of elements at the end of the ordered collection. ith new element is a result of builder(i). The builder is consecutively called on indices from 0 to number exclusive.
For each index from 0 to size there is exactly one corresponding place for a value. And this operation:
adds places with indices from size to
size + numberexclusive,and puts result of
builder(i)in a place with indexsize + ifor eachifrom0to number exclusive.
All builder invocations are computed consecutively on values from 0 to number exclusive in their order starting with 0.