TreeMap vs HashMap
Posted on July 13, 2007 by Subin
Both TreeMap & HashMap are two different implementation of the Map interface. Even though this post is titled “TreeMap vs HashMap” I would like to say how they are connected and how much similar they are.
Both TreeMap & HashMap are not synchronized. To make it synchronized we have to explicitly call Collections.synchronizedMap( mapName ) . [...]
Filed under: Articles, Data Structures, Tips | No Comments »