• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to create a synchronized arraylist without using collections class

 
Amit Indore
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to create a synchronized arraylist without using collections class?

i do not want to use Collections.synchronizedList()
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic