public class StringCharBuilder
extends java.lang.Object
implements java.lang.AutoCloseable
open() before you start using it and
close() when you are finished with it. You cannot nest usage of a single
StringCharBuilder and attempting to call open() before it is close()d will
result in an IllegalStateException.| Modifier and Type | Field and Description |
|---|---|
static int |
UNCLAIMED |
| Modifier and Type | Method and Description |
|---|---|
void |
append(char c) |
int |
capacity() |
char |
charAt(int index) |
void |
close() |
int |
length() |
StringCharBuilder |
open() |
java.lang.String |
substring(int start,
int end) |
java.lang.String |
toString() |
public static final int UNCLAIMED
public int length()
public int capacity()
public StringCharBuilder open()
public void close()
close in interface java.lang.AutoCloseablepublic char charAt(int index)
public void append(char c)
public java.lang.String substring(int start,
int end)
public java.lang.String toString()
toString in class java.lang.Object