492 |
Object[] old = table; |
Object[] old = table; |
493 |
// This isn't necessarily prime, but it is an odd number of key/value |
// This isn't necessarily prime, but it is an odd number of key/value |
494 |
// slots, which has a higher probability of fewer collisions. |
// slots, which has a higher probability of fewer collisions. |
495 |
table = new Object[old.length << 1 + 2]; |
table = new Object[(old.length * 2) + 2]; |
496 |
Arrays.fill(table, emptyslot); |
Arrays.fill(table, emptyslot); |
497 |
size = 0; |
size = 0; |
498 |
threshold = (table.length >>> 3) * 3; |
threshold = (table.length >>> 3) * 3; |