1 |
|
/* |
2 |
|
* Written by Doug Lea with assistance from members of JCP JSR-166 |
3 |
|
* Expert Group and released to the public domain, as explained at |
4 |
< |
* http://creativecommons.org/licenses/publicdomain |
4 |
> |
* http://creativecommons.org/publicdomain/zero/1.0/ |
5 |
|
*/ |
6 |
|
|
7 |
|
package extra166y; |
663 |
|
* @param other the elements to add |
664 |
|
* @return this (to simplify use in expressions) |
665 |
|
*/ |
666 |
< |
public ParallelArray<T> addAll(T[] other) { |
666 |
> |
public ParallelArray<T> addAll(T[] other) { |
667 |
|
int csize = other.length; |
668 |
|
int end = fence; |
669 |
|
insertSlotsAt(end, csize); |