My pages
Projects
Communities
java.net
java.net
>
Wiki
>
Javapedia
>
Glossary
>
StringBuffer
As the new Java.net infrastructure contains project-level wikis, this main wiki will be shut down in the near future. For wiki page export and general wiki questions please contact the site admin at
communitymanager@java.net
.
Home
|
Help
|
Changes
|
Index
|
Search
| Go
StringBuffer
A
StringBuffer
is a Java class used for in-place manipulation of
Strings
.
From the 1.4.2
JavaDoc
:
"A string buffer implements a mutable sequence of characters. A string buffer is like a
String
, but can be modified. At any point in time it contains some particular sequence of characters, but the length and content of the sequence can be changed through certain method calls."
J2SE
5.0 offers an alternative to
StringBuffer
:
java.lang.StringBuilder
See
AlwaysUseStringBufferMisconception
for a discussion on when to use
StringBuffers
.
Discussion about
StringBuffer
Topic
StringBuffer
. {
Edit
|
Ref-By
|
Printable
|
Diffs
r7
<
r6
<
r5
<
r4
<
r3
|
More
}
java.net
RSS
Revision r7 - 2004-10-22 - 14:45:18 - arae
Parents:
WebHome
>
Glossary