Computes the threshold for rehashing
()
| 350 | * Computes the threshold for rehashing |
| 351 | */ |
| 352 | private void computeThreshold() { |
| 353 | threshold = (int) (elementData.length * loadFactor); |
| 354 | } |
| 355 | |
| 356 | /** |
| 357 | * Returns whether this map contains the specified key. |