StringBuilder
Class StringBuilder
- java.lang.Object
-
- java.lang.StringBuilder
- All Implemented Interfaces:
- Serializable, Appendable, CharSequence
public final class StringBuilder extends Object implements Serializable, CharSequence
A mutable sequence of characters. This class provides an API compatible with StringBuffer
, but with no guarantee of synchronization. This class is designed for use as a drop-in replacement for StringBuffer
in places where the string buffer was being used by a single thread (as is generally the case). Where possible, it is recommended t