JavaAntiPatterns

Collection of bad coding practices

Posts Tagged ‘hashmap

Synchronized collections everywhere

with 2 comments

Vector and Hashtable are just the synchronized versions of the ArrayList an HashMap but working much slower. Use unsynchronized collections unless thread-safety is really required.

Read the rest of this entry »

Advertisements

Written by Alex

November 22, 2007 at 11:21 am

Posted in Collections

Tagged with , , ,