Suggestion: Add the method isEmpty in the classes StringBuilder and StringBuffer
Vitaly Davidovich
vitalyd at gmail.com
Mon Feb 11 17:08:01 UTC 2013
It should be isEmpty() -- empty() is usually for returning empty versions
of the class. isEmpty is also consistent with String.
Sent from my phone
On Feb 11, 2013 12:03 PM, "Paul Benedict" <pbenedict at apache.org> wrote:
> Do you want isEmpty() for bean access, or empty() like Collections? Since
> there isn't a getLength() but just length() (and size() for collections), I
> think the latter would be preferred.
>
> Paul
>
More information about the core-libs-dev
mailing list