StringBuffer.append
Class Overview | Class Members | 
  This Package | 
All Packages
 public synchronized StringBuffer append( Object obj )
Parameters
-  obj 
-  an Object.
    
Returns
     this string buffer.
    Description
 Appends the string representation of the Object 
 argument to this string buffer. 
 
 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 string buffer.
  
See Also
     valueOf, append
  
 public synchronized StringBuffer append( String str )
Parameters
-  str 
-  a string.
    
Returns
     this string buffer.
  Description
 Appends the string to this string buffer. 
 
 The characters of the String argument are appended, in 
 order, to the contents of this string buffer, increasing the 
 length of this string buffer by the length of the argument.
  
 public synchronized StringBuffer append( char str[] )
Parameters
-  str 
-  the characters to be appended.
    
Returns
     this string buffer.
  Description
 Appends the string representation of the char array 
 argument to this string buffer. 
 
 The characters of the array argument are appended, in order, to 
 the contents of this string buffer. The length of this string 
 buffer increases by the length of the argument.
  
 public synchronized StringBuffer append( char str[],
                                         int offset,
                                         int len )
Parameters
-  str 
-  the characters to be appended.
    
-  offset 
-  the index of the first character to append.
    
-  len 
-  the number of characters to append.
    
Returns
     this string buffer.
  Description
 Appends the string representation of a subarray of the 
 char array argument to this string buffer. 
 
 Characters of the character array str, starting at 
 index offset, are appended, in order, to the contents 
 of this string buffer. The length of this string buffer increases 
 by the value of len.
  
 public StringBuffer append( boolean b )
Parameters
-  b 
-  a boolean.
    
Returns
     this string buffer.
    Description
 Appends the string representation of the boolean 
 argument to the string buffer. 
 
 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 string buffer.
  
See Also
     valueOf, append
  
 public synchronized StringBuffer append( char c )
Parameters
-  ch 
-  a char.
    
Returns
     this string buffer.
  Description
 Appends the string representation of the char 
 argument to this string buffer. 
 
 The argument is appended to the contents of this string buffer. 
 The length of this string buffer increases by 1.
  
 public StringBuffer append( int i )
Parameters
-  i 
-  an int.
    
Returns
     this string buffer.
    Description
 Appends the string representation of the int 
 argument to this string buffer. 
 
 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 string buffer.
  
See Also
     valueOf, append
  
 public StringBuffer append( long l )
Parameters
-  l 
-  a long.
    
Returns
     this string buffer.
    Description
 Appends the string representation of the long 
 argument to this string buffer. 
 
 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 string buffer.
  
See Also
     valueOf, append
  
 public StringBuffer append( float f )
Parameters
-  f 
-  a float.
    
Returns
     this string buffer.
    Description
 Appends the string representation of the float 
 argument to this string buffer. 
 
 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 string buffer.
  
See Also
     valueOf, append
  
 public StringBuffer append( double d )
Parameters
-  d 
-  a double.
    
Returns
     this string buffer.
    Description
 Appends the string representation of the double 
 argument to this string buffer. 
 
 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 string buffer.
  
See Also
     valueOf, append