PRUnichar *key = aKey; PRUint32 len; PRUint32 hashValue = nsCRT::HashValue(key, &len); PLHashEntry **hep = PL_HashTableRawLookup(mTable, hashValue, key); PLHashEntry *he = *hep; if (he) { ((nsString *) he->value)->Copy(aValue);
nsStringKey key(prop); if (!Exists(&key)) return NS_ERROR_FAILURE;  nsISupports* value = (nsISupports*)Get(&key); NS_IF_ADDREF(value); *result = value;
nsProperties::GetProperty(const nsString& aKey, nsString& aValue){  PRUnichar *key = aKey;  PRUint32 len;  PRUint32 hashValue = nsCRT::HashValue(key, &len);  PLHashEntry **hep = PL_HashTableRawLookup(mTable, hashValue, key);  PLHashEntry *he = *hep;  if (he) {    ((nsString *) he->value)->Copy(aValue);    return NS_OK;  }  return NS_ERROR_FAILURE;}