AbstractStringBuilder
public int length()
public int capacity()
public void ensureCapacity(int minimumCapacity)
public void public void setLength(int newLength)()
public char charAt(int index)
public int codePointAt(int index)
public int codePointBefore(int index)
public int codePointCount(int beginIndex, int endIndex)
public int offsetByCodePoints(int index, int codePointOffset)
public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
public void setCharAt(int index, char ch)
append
delete
appendCodePoint
deleteCharAt
replace
substring
subSequence
insert
indexOf
lastIndexOf
reverse
getValue
StringBuffer类中的方法(继承了上面的类)
length
capacity
ensureCapacity
ensureCapacityInternal
expandCapacity
trimToSize
setLength
charAt
codePointAt
codePointBefore
codePointCount
offsetByCodePoints
getChars
setCharAt
append
delete
appendCodePoint
deleteCharAt
replace
substring
subSequence
insert
indexOf
lastIndexOf
reverse
StringBuilder 类中的方法(继承第一各类)