Is it good programming style to use:
Set s = Collections.synchronizedSet(new HashSet());
instead of using synchronized methods where objects are inserted and removed.
Are there any drawbacks to this? Is it slower? Bad coding style?
|
Results 1 to 2 of 2
Thread: Collections.synchronizedThreaded View
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S. Wed Yourself to UML with the Power of Associations Microsoft to Add AJAX Capabilities to ASP.NET IBM's Cloudscape Versus MySQL | ||||||||||||||||||||||||||||||||||
![]() | |||||
|
| |||||
![]() |
Bookmarks