Returns whether this map contains the specified key. @param key the key to search for. @return true if this map contains the specified key, false otherwise.
(Object key)
| 395 | * {@code false} otherwise. |
| 396 | */ |
| 397 | @Override |
| 398 | public boolean containsKey(Object key) { |
| 399 | Entry<K, V> m = getEntry(key); |
| 400 | return m != null; |
| 401 | } |
| 402 | |
| 403 | /** |
| 404 | * Returns whether this map contains the specified value. |