Use a hashmap in Java

In the Java programming language, a hashmap is a list of associated values. Java uses hashmaps to store data. If you keep a lot of structured data, it’s useful to know the various retrieval methods available.

Source: LXer – Use a hashmap in Java