public boolean containsKey(Object key) { SubTable t; if (key instanceof Integer) { t = tables[((Integer)key).intValue() & 0xffff]; while (t != null) { if (t.getKey().equals(key)) { return true; } t = t.next; } } else if (key instanceof ChecksumPair) { ChecksumPair pair = (ChecksumPair) key; t = tables[pair.weak & 0xffff]; while (t != null) { if (t.getKey().equals(key)) { return t.containsKey(new StrongKey(pair.strong)); } t = t.next; } } return false;
public boolean containsKey(int key) { return tables[key & 0xffff] != null;
   public boolean containsKey(Object key) {      SubTable t;      if (key instanceof Integer) {         t = tables[((Integer)key).intValue() & 0xffff];         while (t != null) {            if (t.getKey().equals(key)) {               return true;            }            t = t.next;         }      } else if (key instanceof ChecksumPair) {         ChecksumPair pair = (ChecksumPair) key;         t = tables[pair.weak & 0xffff];         while (t != null) {            if (t.getKey().equals(key)) {               return t.containsKey(new StrongKey(pair.strong));            }            t = t.next;         }      }      return false;   }