If the code you have posted is meant to run in the client, the synchronized if I am not mistaken does not apply. There are no threads there.
Regards,
Alfredo
On Dec 27, 2011 9:38 AM, "fjarenales" <fjarenales@gmail.com> wrote:
-- Hi folks,
I'm trying to use Collections and the method synchronizedList. I have
something like this:
private List<UserBean> myList = Collections.synchronizedList(new
ArrayList<UserBean>()), where UserBean is a java-bean used in my
application.
When i try to compile this, i get the next error:
The method synchronizedList(List<UserBean>) is undefined for the type
Collections.
May i have to configure or, maybe, inherit something in my GWT
application.
Kind Regards,
Javier
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment