How to use the HashMap class?
This examples demonstrate you how to use the HashMap class to map some values. In this example we map the error codes with their description. To store some data into the map we use the put() method and to get it back use the get() method. And we can also interate the map using the available key sets of the map.