nsElementMap::Find(nsIRDFResource* aResource, nsISupportsArray* aResults)
nsElementMap::Find(const nsAString& aID, nsISupportsArray* aResults)
nsElementMap::Find(nsIRDFResource* aResource, nsISupportsArray* aResults){    NS_PRECONDITION(mResources != nsnull, "not initialized");    if (! mResources)        return NS_ERROR_NOT_INITIALIZED;    aResults->Clear();    ContentListItem* head =        (ContentListItem*) PL_HashTableLookup(mResources, aResource);    while (head) {        aResults->AppendElement(head->mContent);        head = head->mNext;    }    return NS_OK;}