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.synchronizedHybrid View
|
Development Centers |