PRBool nsString::Equals(const nsString& aString) const { PRBool  result;  if (mLength != aString.mLength) { result = PR_FALSE;  } else if (0 == mLength) { result = PR_TRUE;  } else { result = (0 == nsCRT::strcmp(mStr,aString.mStr)); }   return result; }
PRBool  Equals(nsIAtom* anAtom,PRBool aIgnoreCase) const { return EqualsAtom(anAtom, aIgnoreCase); }
PRBool nsString::Equals(const nsString& aString) const {  PRBool  result;  if (mLength != aString.mLength) {    result = PR_FALSE;  } else if (0 == mLength) {    result = PR_TRUE;  } else {    result = (0 == nsCRT::strcmp(mStr,aString.mStr));  }  return result;}