(int index)
| 109 | } |
| 110 | |
| 111 | public object Remove(int index) |
| 112 | { |
| 113 | if (index >= 0 && index < count && list[index].next == ALLOCED) |
| 114 | { |
| 115 | object o = list[index].obj; |
| 116 | list[index].obj = null; |
| 117 | list[index].next = freelist; |
| 118 | freelist = index; |
| 119 | return o; |
| 120 | } |
| 121 | |
| 122 | return null; |
| 123 | } |
| 124 | |
| 125 | public object Replace(int index, object o) |
| 126 | { |
no outgoing calls
no test coverage detected