文档上说的很清楚啊,看这个方法: append
public StringBufferappend(Object obj)
Appends the string representation of the Object argument.
The argument is converted to a string as if by the method String.valueOf, and the characters of that string are then appended to this sequence.