JDK source code analysis of the StringBuffer class

I. Overview

StringBuffer class is modified by final, can not be inherited, inherited AbstractStringBuilder StringBuffer class,
it is a variable sequence of characters, and the method has synchronized modified to achieve a thread-safe

Two source parsing

III summarizes

Guess you like

Origin www.cnblogs.com/houzheng/p/12177643.html