Purpose: This is a non-synchronized, reusable implementation of StringBuffer.
| Modifier and Type | Method and Description |
|---|---|
| public StrBuffer | |
| public StrBuffer | |
| public char | charAt(int
the index of the index)char value to be returnedImplements java. char value at the specified index.
|
| private void | |
| public int | |
| public void | |
| public CharSequence | subSequence(int
the start index, inclusive start, int the end index, exclusive end)Implements java. CharSequence that is a subsequence of this sequence.
|
| public String | toString()
Overrides java. Implements java. |
| StrBuffer | back to summary |
|---|---|
| public StrBuffer() | |
| StrBuffer | back to summary |
|---|---|
| public StrBuffer(int length) | |
| append | back to summary |
|---|---|
| public StrBuffer append(String str) | |
| append | back to summary |
|---|---|
| public StrBuffer append(char[] chars, int start, int length) | |
| charAt | back to summary |
|---|---|
| public char charAt(int index) Implements java. Doc from java. Returns the If the
| |
| increaseCapacity | back to summary |
|---|---|
| private void increaseCapacity(int minStorage) | |
| length | back to summary |
|---|---|
| public int length() Implements java. Doc from java. Returns the length of this character sequence. The length is the number
of 16-bit
| |
| reset | back to summary |
|---|---|
| public void reset() | |
| subSequence | back to summary |
|---|---|
| public CharSequence subSequence(int start, int end) Implements java. Doc from java. Returns a
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements java. Doc from java. Returns a string containing the characters in this sequence in the same order as this sequence. The length of the string will be the length of this sequence. | |