Removes the element at the specified position. @param index index of the element to remove @return removed element
(final int index)
| 159 | * @return removed element |
| 160 | */ |
| 161 | public int remove(final int index) { |
| 162 | final int[] lst = list; |
| 163 | final int e = lst[index]; |
| 164 | Array.remove(lst, index, 1, size); |
| 165 | --size; |
| 166 | return e; |
| 167 | } |
| 168 | |
| 169 | /** |
| 170 | * Adds a difference to all elements starting from the specified index. |
no test coverage detected