Package: java.lang

## Class StringBuilder

- - ### Methods Summary

    Methods
    Return type | Name and parameters
    --- | ---
    `StringBuilder` | `leftShift(Object value)` Overloads the left shift operator to provide syntactic sugar for appending to a StringBuilder.
    `String` | `plus(String value)` Appends a String to this StringBuilder.
    `void` | `putAt(EmptyRange range, Object value)` Support the range subscript operator for StringBuilder.
    `void` | `putAt(IntRange range, Object value)` Support the range subscript operator for StringBuilder.
    `int` | `size()` Standard Groovy size() method for StringBuilders.

  - #### Methods inherited from class java.lang.Object

    `addShutdownHook`, `any`, `any`, `asBoolean`, `asType`, `collect`, `collect`, `collect`, `contains`, `count`, `dump`, `each`, `eachWithIndex`, `equals`, `every`, `every`, `find`, `find`, `findAll`, `findAll`, `findIndexOf`, `findIndexOf`, `findIndexValues`, `findIndexValues`, `findLastIndexOf`, `findLastIndexOf`, `findResult`, `findResult`, `flatten`, `getAt`, `getMetaClass`, `getMetaPropertyValues`, `getProperties`, `grep`, `grep`, `groupBy`, `groupBy`, `hasProperty`, `identity`, `inject`, `inject`, `inspect`, `invokeMethod`, `is`, `isCase`, `iterator`, `join`, `metaClass`, `print`, `print`, `printf`, `printf`, `println`, `println`, `println`, `putAt`, `respondsTo`, `respondsTo`, `setMetaClass`, `size`, `split`, `sprintf`, `sprintf`, `sum`, `sum`, `tap`, `toArrayString`, `toSpreadMap`, `toString`, `use`, `use`, `use`, `with`, `with`, `withTraits`

  - #### Methods inherited from interface java.lang.CharSequence

    `asBoolean`, `asType`, `bitwiseNegate`, `capitalize`, `center`, `center`, `contains`, `count`, `denormalize`, `digest`, `drop`, `dropWhile`, `eachLine`, `eachLine`, `eachMatch`, `eachMatch`, `endsWithAny`, `expand`, `expand`, `expandLine`, `find`, `find`, `find`, `find`, `findAll`, `findAll`, `findAll`, `findAll`, `getAt`, `getAt`, `getAt`, `getAt`, `getAt`, `getChars`, `isAllWhitespace`, `isBigDecimal`, `isBigInteger`, `isBlank`, `isCase`, `isDouble`, `isFloat`, `isInteger`, `isLong`, `isNumber`, `leftShift`, `matches`, `md5`, `minus`, `minus`, `multiply`, `next`, `normalize`, `padLeft`, `padLeft`, `padRight`, `padRight`, `plus`, `previous`, `readLines`, `replace`, `replace`, `replaceAll`, `replaceAll`, `replaceAll`, `replaceAll`, `replaceFirst`, `replaceFirst`, `replaceFirst`, `replaceFirst`, `reverse`, `sha256`, `size`, `split`, `splitEachLine`, `splitEachLine`, `startsWithAny`, `stripIndent`, `stripIndent`, `stripMargin`, `stripMargin`, `stripMargin`, `take`, `takeWhile`, `toBigDecimal`, `toBigInteger`, `toDouble`, `toFloat`, `toInteger`, `toList`, `toLong`, `toSet`, `toShort`, `toURI`, `toURL`, `tokenize`, `tokenize`, `tokenize`, `tr`, `uncapitalize`, `unexpand`, `unexpand`, `unexpandLine`

  - #### Methods inherited from interface java.lang.Comparable

    `numberAwareCompareTo`

- - ### Methods Detail

    - #### public StringBuilder leftShift(Object value)

      Overloads the left shift operator to provide syntactic sugar for appending to a StringBuilder.

      Parameters:
        `value` - an Object
      Returns:
        the original StringBuilder
      Since:
        1.8.2

    - #### public String plus(String value)

      Appends a String to this StringBuilder.

      Parameters:
        `value` - a String
      Returns:
        a String

    - #### public void putAt(EmptyRange range, Object value)

      Support the range subscript operator for StringBuilder.

      Parameters:
        `range` - a Range
        `value` - the object that's toString() will be inserted

    - #### public void putAt(IntRange range, Object value)

      Support the range subscript operator for StringBuilder. Index values are treated as characters within the builder.

      Parameters:
        `range` - a Range
        `value` - the object that's toString() will be inserted

    - #### public int size()

      Standard Groovy size() method for StringBuilders.

      Returns:
        the length of the StringBuilder