Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8181398

Add StringBuilder.isEmpty() method

XMLWordPrintable

      A DESCRIPTION OF THE REQUEST :
      There should be an isEmpty() method on StringBuilder (and StringBuffer), that simply asks for ( length() == 0 ).

      JUSTIFICATION :
      Very handy method and simple to implement.


      CUSTOMER SUBMITTED WORKAROUND :
      Query for length() being zero.

            smarks Stuart Marks
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: