How do I create a multimap in Java?

John Zukowski

Typically a Map maps a key to a single value. To have a multimap, the values of a Map should be a List instead. Thus there can be multiple values in the List associated with a single key.

About | Sitemap | Contact