| Package | Description |
|---|---|
| java.io | |
| java.lang |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
StringWriter.getBuffer() |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
StringBuffer.append(boolean b)
Appends the string representation of the boolean argument to the string buffer.
|
StringBuffer |
StringBuffer.append(char c)
Appends the string representation of the char argument to this string buffer.
|
StringBuffer |
StringBuffer.append(char[] str,
int offset,
int len)
Appends the string representation of a subarray of the char array argument to this string buffer.
|
StringBuffer |
StringBuffer.append(CharSequence cs) |
StringBuffer |
StringBuffer.append(CharSequence cs,
int start,
int end) |
StringBuffer |
StringBuffer.append(double d)
Appends the string representation of the double argument to this string buffer.
|
StringBuffer |
StringBuffer.append(float f)
Appends the string representation of the float argument to this string buffer.
|
StringBuffer |
StringBuffer.append(int i)
Appends the string representation of the int argument to this string buffer.
|
StringBuffer |
StringBuffer.append(long l)
Appends the string representation of the long argument to this string buffer.
|
StringBuffer |
StringBuffer.append(Object obj)
Appends the string representation of the Object argument to this string buffer.
|
StringBuffer |
StringBuffer.append(String str)
Appends the string to this string buffer.
|
StringBuffer |
StringBuffer.delete(int start,
int end)
Removes the characters in a substring of this StringBuffer.
|
StringBuffer |
StringBuffer.deleteCharAt(int index)
Removes the character at the specified position in this StringBuffer (shortening the StringBuffer by one character).
|
StringBuffer |
StringBuffer.insert(int offset,
boolean b)
Inserts the string representation of the boolean argument into this string buffer.
|
StringBuffer |
StringBuffer.insert(int offset,
char c)
Inserts the string representation of the char argument into this string buffer.
|
StringBuffer |
StringBuffer.insert(int offset,
CharSequence cs) |
StringBuffer |
StringBuffer.insert(int offset,
CharSequence cs,
int start,
int end) |
StringBuffer |
StringBuffer.insert(int offset,
double d)
Inserts the string representation of the double argument into this string buffer.
|
StringBuffer |
StringBuffer.insert(int offset,
float f)
Inserts the string representation of the float argument into this string buffer.
|
StringBuffer |
StringBuffer.insert(int offset,
int i)
Inserts the string representation of the second int argument into this string buffer.
|
StringBuffer |
StringBuffer.insert(int offset,
long l)
Inserts the string representation of the long argument into this string buffer.
|
StringBuffer |
StringBuffer.insert(int offset,
Object obj)
Inserts the string representation of the Object argument into this string buffer.
|
StringBuffer |
StringBuffer.insert(int offset,
String str)
Inserts the string into this string buffer.
|
StringBuffer |
StringBuffer.reverse()
The character sequence contained in this string buffer is replaced by the reverse of the sequence.
|
StringBuffer |
StringBuffer.StringBuffer(CharSequence cs) |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
StringBuilder.append(StringBuffer buf)
Appends StringBuffer to end of builder.
|
boolean |
String.contentEquals(StringBuffer sb) |
| Constructor and Description |
|---|
String(StringBuffer buffer)
Allocates a new string that contains the sequence of characters currently contained in the string buffer argument.
|
Copyright © 2026. All rights reserved.