Generated by
JDiff

Class java.lang.StringBuffer

Added interface java.lang.CharSequence.
Documentation changed from old to new.

Removed Methods
StringBuffer append(long) Appends the string representation of the long argument to this string buffer.
 

Added Methods
StringBuffer append(StringBuffer) Appends the specified StringBuffer to this StringBuffer.
StringBuffer append(long) Appends the string representation of the long argument to this string buffer.
int indexOf(String) Returns the index within this string of the first occurrence of the specified substring.
int indexOf(String, int) Returns the index within this string of the first occurrence of the specified substring starting at the specified index.
int lastIndexOf(String) Returns the index within this string of the rightmost occurrence of the specified substring.
int lastIndexOf(String, int) Returns the index within this string of the last occurrence of the specified substring.
CharSequence subSequence(int, int) Returns a new character sequence that is a subsequence of this sequence.
 

Changed Methods
int capacity() Changed from non-synchronized to synchronized. Returns the current capacity of the String buffer.
int length() Changed from non-synchronized to synchronized. Returns the length (character count) of this string buffer.
StringBuffer reverse() Documentation changed from old to new.
The character sequence contained in this string buffer is replaced by the reverse of the sequence.
String substring(int) Changed from non-synchronized to synchronized. Returns a new String that contains a subsequence of characters currently contained in this StringBuffer.The substring begins at the specified index and extends to the end of the StringBuffer.