performance - Is there an equivalent to StringWriter but with StringBuilder internally in Java? -


I've found that stringwriters use a stringbuff internally but if you do not need that synchronization overhead Is there a equivalent using a stringbilder inside a stringbuilder?

No, there is no equivalent using the StringBuilder in the current standard Java API (at least 7, I did not check on 8).

Is there a logic behind your question, I do not think you are concerned but this aspect should be important, you can apply your own StringWriter class But to check whether the difference is important, using stringbinder . If so, keep your own, and otherwise, there is no problem.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -