Package | Description |
---|---|
java.lang |
Modifier and Type | Method and Description |
---|---|
StringBuffer |
StringBuffer.append(boolean b)
Appends the string representation of the boolean argument to the sequence.
|
StringBuffer |
StringBuffer.append(char c) |
StringBuffer |
StringBuffer.append(char[] str)
Appends the string representation of the char array argument to this
sequence.
|
StringBuffer |
StringBuffer.append(char[] str,
int offset,
int len)
Appends the string representation of a subarray of the
char array argument to this
sequence. |
StringBuffer |
StringBuffer.append(CharSequence s)
Appends the specified
CharSequence to this sequence. |
StringBuffer |
StringBuffer.append(CharSequence s,
int start,
int end)
Appends a subsequence of the specified
CharSequence to this sequence. |
StringBuffer |
StringBuffer.append(double d)
Appends the string representation of the double argument to this sequence.
|
StringBuffer |
StringBuffer.append(float f)
Appends the string representation of the float argument to this sequence.
|
StringBuffer |
StringBuffer.append(int i)
Appends the string representation of the int argument to this sequence.
|
StringBuffer |
StringBuffer.append(long lng)
Appends the string representation of the long argument to this sequence.
|
StringBuffer |
StringBuffer.append(Object obj)
Appends the string representation of the Object argument.
|
StringBuffer |
StringBuffer.append(String str)
Appends the specified string to this character sequence.
|
StringBuffer |
StringBuffer.append(StringBuffer sb)
Appends the specified StringBuffer to this sequence.
|
StringBuffer |
StringBuffer.delete(int start,
int end)
Removes the characters in a substring of this sequence.
|
StringBuffer |
StringBuffer.deleteCharAt(int index)
Removes the
char at the specified position in this sequence. |
StringBuffer |
StringBuffer.insert(int offset,
boolean b)
Inserts the string representation of the
boolean argument into this sequence. |
StringBuffer |
StringBuffer.insert(int offset,
char c)
Inserts the string representation of the
char argument into this sequence. |
StringBuffer |
StringBuffer.insert(int offset,
char[] str)
Inserts the string representation of the
char array argument into this sequence. |
StringBuffer |
StringBuffer.insert(int index,
char[] str,
int offset,
int len)
Inserts the string representation of a subarray of the
str array argument into this
sequence. |
StringBuffer |
StringBuffer.insert(int dstOffset,
CharSequence s)
Inserts the specified
CharSequence into this sequence. |
StringBuffer |
StringBuffer.insert(int dstOffset,
CharSequence s,
int start,
int end)
Inserts a subsequence of the specified
CharSequence into this sequence. |
StringBuffer |
StringBuffer.insert(int offset,
double d)
Inserts the string representation of the
double argument into this sequence. |
StringBuffer |
StringBuffer.insert(int offset,
float f)
Inserts the string representation of the
float argument into this sequence. |
StringBuffer |
StringBuffer.insert(int offset,
int i)
Inserts the string representation of the second
int argument into this sequence. |
StringBuffer |
StringBuffer.insert(int offset,
long l)
Inserts the string representation of the
long argument into this sequence. |
StringBuffer |
StringBuffer.insert(int offset,
Object obj)
Inserts the string representation of the
Object argument into this character sequence. |
StringBuffer |
StringBuffer.insert(int offset,
String str)
Inserts the string into this character sequence.
|
StringBuffer |
StringBuffer.replace(int start,
int end,
String str)
Replaces the characters in a substring of this sequence with characters in the specified
String . |
StringBuffer |
StringBuffer.reverse()
Causes this character sequence to be replaced by the reverse of the sequence.
|
Modifier and Type | Method and Description |
---|---|
StringBuilder |
StringBuilder.append(StringBuffer sb)
Appends the specified StringBuffer to this sequence.
|
StringBuffer |
StringBuffer.append(StringBuffer sb)
Appends the specified StringBuffer to this sequence.
|
boolean |
String.contentEquals(StringBuffer sb)
Compares this string to the specified
StringBuffer . |
Constructor and Description |
---|
String(StringBuffer buffer)
Allocates a new string that contains the sequence of characters currently contained in the string
buffer argument.
|