if (key.equals(e.key))
if (e.key.equals(key))
  public synchronized boolean containsKey(Object key)  {    int idx = hash(key);    HashEntry<K, V> e = buckets[idx];    while (e != null)      {        if (key.equals(e.key))          return true;        e = e.next;      }    return false;  }