ICU-7047 document that an isBogus() UnicodeString also isEmpty()

X-SVN-Rev: 27692
This commit is contained in:
Markus Scherer 2010-02-26 00:37:44 +00:00
parent 041c5a68a8
commit 0a55346c64

View File

@ -1728,9 +1728,10 @@ public:
/**
* Determine if this object contains a valid string.
* A bogus string has no value. It is different from an empty string.
* It can be used to indicate that no string value is available.
* getBuffer() and getTerminatedBuffer() return NULL, and
* A bogus string has no value. It is different from an empty string,
* although in both cases isEmpty() returns TRUE and length() returns 0.
* setToBogus() and isBogus() can be used to indicate that no string value is available.
* For a bogus string, getBuffer() and getTerminatedBuffer() return NULL, and
* length() returns 0.
*
* @return TRUE if the string is valid, FALSE otherwise