Tag: map hashmap

Collections Comparisons

August 22, 2013 · 1 min read
You must be very strong in Java DS to write comparisons between various Collection classes. This tutorial gives you possible Java DS comparisons.

Map vs HashMap

December 10, 2011 · 2 min read
After studying [Hashtable vs HashMap](http://way2java.com/collections/hashtable/hashtable-vs-hashmap/) and [HashMap vs TreeMap](http://way2java.com/collections/map/sortedmap/treemap/hashmap-vs-treemap/), let us study the differences between Map and HashMap. These two are very much related as [HashMap](http://way2java.com/collections/hashmap-tutorial/) is a class derived from [Map](http://way2java.com/collections/interface-map-tutorial/) interface. As a derived class of Map, the HashMap attains the properties of Map. Important and the most frequently used derived classes of Map are [HashMap](http://way2java.com/collections/hashmap-tutorial/) and [TreeMap](http://way2java.com/collections/treemap-tutorial/).

HashMap Tutorial

August 2, 2011 · 4 min read
###### HashMap Tutorial : **HashMap** belongs to the [collections framework](http://way2java.com/collections/java-collections-framework/) being derived from Map interface. It is just similar to [Hashtable](http://way2java.com/collections/hashtable-about/) of legacy classes (JDK 1.0 data structures are known as legacy classes and the other are Vector, Properties and Stack). The differences between are narrated.