wood burning stoves 2.0*
The moose likes Threads and Synchronization and the fly likes how to create a synchronized arraylist without using collections class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "how to create a synchronized arraylist without using collections class" Watch "how to create a synchronized arraylist without using collections class" New topic
Author

how to create a synchronized arraylist without using collections class

Amit Indore
Ranch Hand

Joined: Jun 20, 2008
Posts: 31
how to create a synchronized arraylist without using collections class?

i do not want to use Collections.synchronizedList()
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4181
    
  21

Amit Indore wrote:how to create a synchronized arraylist without using collections class?

i do not want to use Collections.synchronizedList()


Why not?

Anyways, make an ArrayLst where every method which accesses the data is synchronized.


Steve
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to create a synchronized arraylist without using collections class