Return type | Name and parameters |
---|---|
StringBuilder
|
leftShift(Object value)
Overloads the left shift operator to provide syntactic sugar for appending to a StringBuilder. |
StringBuilder
|
leftShift(Object value)
Overloads the left shift operator to provide an easy way to append multiple objects as string representations to a StringBuilder (Only works with JDK1.5 or later). |
String
|
plus(String value)
Appends a String to this StringBuilder (Only works with JDK1.5 or later). |
void
|
putAt(IntRange range, Object value)
Support the range subscript operator for StringBuilder (Only works with JDK1.5 or later). |
void
|
putAt(EmptyRange range, Object value)
Support the range subscript operator for StringBuilder (Only works with JDK1.5 or later). |
int
|
size()
Standard Groovy size() method for StringBuilders (Only works with JDK1.5 or later). |
Overloads the left shift operator to provide syntactic sugar for appending to a StringBuilder.
value
- an Object.Overloads the left shift operator to provide an easy way to append multiple objects as string representations to a StringBuilder (Only works with JDK1.5 or later).
value
- a value to append.Appends a String to this StringBuilder (Only works with JDK1.5 or later).
value
- a String.Support the range subscript operator for StringBuilder (Only works with JDK1.5 or later). Index values are treated as characters within the builder.
range
- a Range.value
- the object that's toString() will be inserted.Support the range subscript operator for StringBuilder (Only works with JDK1.5 or later).
range
- a Range.value
- the object that's toString() will be inserted.Standard Groovy size() method for StringBuilders (Only works with JDK1.5 or later).