Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-306

Extra StrBuilder methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.3
    • None
    • None

    Description

      Append all the elements in a collection with no separator:
      StrBuilder.appendAll(Collection)
      StrBuilder.appendAll(Object[])
      StrBuilder.appendAll(Iterator)

      Append the data followed by a new line:
      StrBuilder.appendln(...)

      Append a separator if the buffer is not empty:
      StrBuilder.appendSeparator(String)

      Append a separator if the index > 0:
      StrBuilder.appendSeparator(String, index)

      Attachments

        1. StrBuilder.java
          90 kB
          Stephen Colebourne
        2. lang.patch
          18 kB
          Stephen Colebourne

        Activity

          People

            scolebourne Stephen Colebourne
            scolebourne Stephen Colebourne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: