The appendTail(StringBuffer sb) method

This method reads characters from the input sequence, starting at the append position, and appends them to the given string buffer. It is intended to be invoked after one or more invocations of the appendReplacement method in order to copy the remainder of the input sequence.

Just like in the case of the appendReplacement() method, there is also an overloaded version of the appendTail() method that accepts StringBuilder, which is not synchronized, instead of StringBuffer, which is synchronized.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.176.5