Generated by
JDiff

Class java.lang.StringBuffer

Added interface java.lang.CharSequence.

Added Methods
StringBuffer append(StringBuffer) Appends the specified StringBuffer to this StringBuffer.
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.
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.