(int i)
| 150 | } |
| 151 | |
| 152 | public Object[] arrayFor(int i){ |
| 153 | if(i >= 0 && i < cnt) |
| 154 | { |
| 155 | if(i >= tailoff()) |
| 156 | return tail; |
| 157 | Node node = root; |
| 158 | for(int level = shift; level > 0; level -= 5) |
| 159 | node = (Node) node.array[(i >>> level) & 0x01f]; |
| 160 | return node.array; |
| 161 | } |
| 162 | throw new IndexOutOfBoundsException(); |
| 163 | } |
| 164 | |
| 165 | public Object nth(int i){ |
| 166 | Object[] node = arrayFor(i); |
no test coverage detected