Tuesday, 19 April 2011

How can Arraylist be synchronized without using Vector?

Arraylist can be synchronized using:
Collection.synchronizedList(List list)
Other collections can be synchronized:
Collection.synchronizedMap(Map map)
Collection.synchronizedCollection(Collection c)

No comments:

Post a Comment