Text
String
is a sequence of UTF-16 codepoints.StringBuffer
allows incremental string building, concatenating into a single string ontoString()
invocation to reduce allocations.
String
is a sequence of UTF-16 codepoints.StringBuffer
allows incremental string building, concatenating into a single string on toString()
invocation to reduce allocations.