| StringBuffer methods |
| StringBuffer append( char c ) | append c to the end of the StringBuffer |
| StringBuffer append( int i ) | convert i to characters, then append it to the end of the StringBuffer |
| StringBuffer append( long l ) | convert l to characters, then append it to the end of the StringBuffer |
| StringBuffer append( float f ) | convert f to characters, then append it to the end of the StringBuffer |
| StringBuffer append( double d ) | convert d to characters, then append it to the end of the StringBuffer |
| int capacity() | return the current capacity (capacity will grow as needed). |
| char charAt( int index) | get the character at index i. |
| StringBuffer insert( int index, char c) | insert character c at position i (old characters move over to make room). |
| StringBuffer insert( int index, String st) | insert characters from st starting at position i. |
| StringBuffer insert( int index, int i) | convert i to characters, then insert them starting at position i. |
| StringBuffer insert( int index, long l) | convert l to characters, then insert them starting at position i. |
| StringBuffer insert( int index, float f) | convert f to characters, then insert them starting at position i. |
| StringBuffer insert( int index, double d) | convert d to characters, then insert them starting at position i. |
| int length() | return the number of characters. |
| StringBuffer reverse() | Reverse the order of the characters. |
| void setCharAt( int index, char c) | set the character at index to c. |
| String toString() | return a String object. |