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)
| 330 | * @see java.lang.Object#equals |
| 331 | */ |
| 332 | public synchronized boolean containsKey(Object key) { |
| 333 | return getEntry(key) != null; |
| 334 | } |
| 335 | |
| 336 | /** |
| 337 | * Searches this {@code Hashtable} for the specified value. |