Iterator Add(Match* aMatch) { return Insert(Last(), aMatch); }
PropertySet::Add(nsIRDFResource* aProperty) { NS_PRECONDITION(aProperty != nsnull, "null ptr"); if (! aProperty) return NS_ERROR_NULL_POINTER;  if (Contains(aProperty)) return NS_OK;  if (mCount >= mCapacity) { PRInt32 capacity = mCapacity + 4; nsIRDFResource** properties = new nsIRDFResource*[capacity]; if (! properties) return NS_ERROR_OUT_OF_MEMORY;  for (PRInt32 i = mCount - 1; i >= 0; --i) properties[i] = mProperties[i];  delete[] mProperties;  mProperties = properties; mCapacity = capacity; }  mProperties[mCount++] = aProperty; NS_ADDREF(aProperty); return NS_OK; }
    Iterator Add(Match* aMatch) {        return Insert(Last(), aMatch); }