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. The behavior of this operation is unspecified if the specified collection is modified while the operation is in progress. (Note that this wil
(final IntList c)
| 170 | */ |
| 171 | |
| 172 | public boolean addAll(final IntList c) |
| 173 | { |
| 174 | if (c._limit != 0) |
| 175 | { |
| 176 | if ((_limit + c._limit) > _array.length) |
| 177 | { |
| 178 | growArray(_limit + c._limit); |
| 179 | } |
| 180 | System.arraycopy(c._array, 0, _array, _limit, c._limit); |
| 181 | _limit += c._limit; |
| 182 | } |
| 183 | return true; |
| 184 | } |
| 185 | |
| 186 | /** |
| 187 | * Inserts all of the elements in the specified collection into |