Returns true if this Hashtable contains the specified object as a key of one of the key/value pairs. @param key the object to look for as a key in this Hashtable. @return true if object is a key in this Hashtable, false otherwise. @see #con
(Object key)
| 370 | * @see java.lang.Object#equals |
| 371 | */ |
| 372 | public synchronized boolean containsKey(Object key) { |
| 373 | return getEntry(key) != null; |
| 374 | } |
| 375 | |
| 376 | /** |
| 377 | * Searches this {@code Hashtable} for the specified value. |