Returns true if and only if this dictionary contains KEY as the key of some key-value pair.
(K key)
| 60 | * key of some key-value pair. |
| 61 | */ |
| 62 | public boolean containsKey(K key) { |
| 63 | if (list == null) { |
| 64 | return false; |
| 65 | } |
| 66 | return list.get(key) != null; |
| 67 | } |
| 68 | |
| 69 | @Override |
| 70 | public Iterator<K> iterator() { |