StringBuffer

constructor()

Constructs a StringBuffer with an initial capacity of 16 characters. (The capacity is not actually enforced in this simple version.)


constructor(capacity: Int)

Constructs a StringBuffer with the specified initial capacity. The capacity parameter is advisory only.


constructor(str: String)

Constructs a StringBuffer initialized to the contents of the given string.


constructor(seq: CharSequence)

Constructs a StringBuffer that contains the same characters as the specified CharSequence.