Returns true if this Hashtable has no key/value pairs. @return true if this Hashtable has no key/value pairs, false otherwise. @see #size
()
| 560 | * @see #size |
| 561 | */ |
| 562 | @Override |
| 563 | public synchronized boolean isEmpty() { |
| 564 | return elementCount == 0; |
| 565 | } |
| 566 | |
| 567 | /** |
| 568 | * Returns an enumeration on the keys of this {@code Hashtable} instance. |