Computes the threshold for rehashing
()
| 383 | * Computes the threshold for rehashing |
| 384 | */ |
| 385 | private void computeThreshold() { |
| 386 | threshold = (int) (elementData.length * loadFactor); |
| 387 | } |
| 388 | |
| 389 | /** |
| 390 | * Returns whether this map contains the specified key. |