Removes all key/value pairs from this Hashtable, leaving the size zero and the capacity unchanged. @see #isEmpty @see #size
()
| 280 | * @see #size |
| 281 | */ |
| 282 | public synchronized void clear() { |
| 283 | elementCount = 0; |
| 284 | Arrays.fill(elementData, null); |
| 285 | modCount++; |
| 286 | } |
| 287 | |
| 288 | |
| 289 | private void computeMaxSize() { |
no test coverage detected