(int index, T value)
| 135 | } |
| 136 | |
| 137 | public void extendAndSet(int index, T value) { |
| 138 | checkCapacity(index + 1); |
| 139 | if (index >= pos) { |
| 140 | pos = index + 1; |
| 141 | } |
| 142 | buffer[index] = value; |
| 143 | } |
| 144 | |
| 145 | public void extendPos(int capacity) { |
| 146 | checkCapacity(capacity); |
no test coverage detected