Right.  The main difference is that StringBuffer is threadsafe, and
nothing else in Android is threadsafe, so little point in using
StringBuffer.

(That said, the performance edge of StringBuilder over StringBuffer is
unlikely to be noticed.)

On Oct 7, 11:48 am, jotobjects <[email protected]> wrote:
> On Oct 7, 12:46 am, Alex <[email protected]> wrote:
>
> > Thanks a lot, working with StringBuffer and it's impelemention of
> > substring did the trick!
>
> Also consider that StringBuilder would be more efficient than
> StringBuffer

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to