(int index, T key)
| 151 | } |
| 152 | |
| 153 | private boolean addAt0(int index, T key) { |
| 154 | if (index > -1) { |
| 155 | keys[index] = key; |
| 156 | if (--free == 0) { |
| 157 | rehash(); |
| 158 | } |
| 159 | return true; |
| 160 | } |
| 161 | return false; |
| 162 | } |
| 163 | |
| 164 | private void erase(int index) { |
| 165 | ((Object[]) keys)[index] = noEntryKey; |