As youve seen in the performance comparison in this chapter, the basic Hashtable is very similar to the HashMap, even down to the method names. Theres no reason to use Hashtable instead of HashMap in new code.