(IntIntHashMap other)
| 64 | } |
| 65 | |
| 66 | public void putAll(IntIntHashMap other) { |
| 67 | int[] otherKeys = other.keys; |
| 68 | int[] otherValues = other.values; |
| 69 | for (int i = 0, n = otherKeys.length; i < n; i++) { |
| 70 | if (otherKeys[i] != other.noEntryKeyValue) { |
| 71 | put(otherKeys[i], otherValues[i]); |
| 72 | } |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | public void putAt(int index, int key, int value) { |
| 77 | if (index < 0) { |