469,903 Members | 1,467 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,903 developers. It's quick & easy.

how to make array list synchronized?

as per the books array list is synchronized by using the method like Collections.SynchronizedList(), can any body give an example how to use this method?
Apr 3 '07 #1
1 9737
dmjpro
2,476 2GB
try it......

ArrayList list = new ArrayList();
ArrayList syn_list = (ArrayList)Collections.SynchronizedList(list);

best of luck
Apr 3 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Rich Sienkiewicz | last post: by
10 posts views Thread by Bob | last post: by
24 posts views Thread by RyanTaylor | last post: by
6 posts views Thread by scottyman | last post: by
3 posts views Thread by =?Utf-8?B?RWl0YW4=?= | last post: by
3 posts views Thread by fniles | last post: by
82 posts views Thread by Bill David | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.