code: public void removeByKey(Object key)
      {
          Object value = keyTable.remove(key);
          if (value != null)
          {
              valueTable.remove(value);
          }
      }
docs: remove a (key, value)-entry by its key
  @param key the key object