Since you are in JavaScript, thread safety should not matter as far as
concurrent updates to object state. Regardless, you can see from the
code in both classes that the state is not really changed once the
pattern has been parsed.

Of course, there can be memory size issues if you store lots objects
statically versus creating as necessary (a CPU issue). That is your
decision based on your design.

On Feb 23, 3:21 pm, "Evgeny Shepelyuk" <[email protected]> wrote:
> Hello,
>
> Are classes mentioned in subject thread-safew and reusable.
> For instance if i'm using them in cell renderer in GXT grid for formatting  
> value.
> Should i create instance each time i need to format value or instance can  
> be created once and then reused ?
>
> --
> Best Regards
> Evgeny K. Shepelt      

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/google-web-toolkit?hl=en.

Reply via email to