What's the difference between a StringBuffer and StringBuilder?
The StringBuilder class was introduced with JDK 5.0. Essentially, a StringBuffer is a thread-safe version of StringBuilder. If you are only adding/removing characters from a single-thread, the StringBuilder implementation will be faster. If you are using multiple threads to add and remove characters, use StringBuffer.
Blog on things around me - Quality Management, Free & Open Source Software, Gadgets, Utilities...
Subscribe to:
Post Comments (Atom)
Total Pageviews
Popular Posts
-
Bugzilla is the Bugs/Issues Tracking Tool from The Mozilla Organization. Version 2.18 is the latest stable release. There are couple of res...
-
I have been assigned to prepare a checklist for my project. So, while compiling a checklist for SQLs, I suggested to use SELECT COUNT(COLUMN...
-
Two MIT math graduates bump into each other at Fairway on the upper west side. They hadn't seen each other in over 20 years. The first g...
-
These are a few of the options u can try to make your Tomcat Server startup faster: Get a faster computer (:D) Make sure your code i...
-
Both Primary & Unique keys are Indexes. Index - An index is a structure in a table that orders the data. It allows the database to acce...
No comments:
Post a Comment