Mega Code Archive
StringBuffer and StringBuilder
Using StringBuffer and StringBuilder to transform strings frequently: adding,
deleting, or replacing substrings in a string.
Operations will be faster and easier using mutable objects.
All the operations in the context of StringBuffer are available with the
StringBuilder class, which will be faster but not thread-safe.