|
Groovy JDK |
Method Summary | |
---|---|
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). |
Method Detail |
---|
public StringBuilder leftShift(Object value)
value
- an Object.public StringBuilder leftShift(Object value)
value
- a value to append.public String plus(String value)
value
- a String.public void putAt(IntRange range, Object value)
range
- a Range.value
- the object that's toString() will be inserted.public void putAt(EmptyRange range, Object value)
range
- a Range.value
- the object that's toString() will be inserted.public int size()
|
Groovy JDK |