Operates exactly as #set(int, java.lang.Integer) @param index the index to set @param element the value to set @return the previous value at the index
(int index, int element)
| 61 | * @return the previous value at the index |
| 62 | */ |
| 63 | public int set(int index, int element) |
| 64 | { |
| 65 | boundsCheck(index); |
| 66 | int prev = array[index]; |
| 67 | array[index] = element; |
| 68 | return prev; |
| 69 | } |
| 70 | |
| 71 | @Override |
| 72 | public Integer set(int index, Integer element) |
no test coverage detected