Java Collection : Map Interface

preview_player
Показать описание
A map is a container object that stores a collection of key/value pairs. It enables fast retrieval, deletion, and updating of the pair through the key. A map stores the values along with the keys.
The keys are like indexes. In List, the indexes are integers. In Map, the keys can be any objects.
A map cannot contain duplicate keys. Each key maps to one value.
In this tutorial we will explain that .
Рекомендации по теме