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