Java J2EE Spring Chapter 46: Using Maps

In the previous chapter, we took a look at Sets that let us store unique objects as a collection. We also have collections as part of the Java API that let us store values as key-value pairs. Each value in the collection would have a key that uniquely identifies this value. They are called “Maps”. We are going to take a look at these collections in this chapter.

So, lets get started!!!

Using