About
A map is an object that maps keys to values (known as property)
Also known as:
- associative memories” or “associative arrays”
- dictionary
A map cannot contain duplicate keys; each key can map to at most one value.
A map holds a set of key/ value pairs and provides constant-time operations to store, retrieve, or test for an item in the set.
In javascript, an object can be seen as a map of properties.
Articles Related
Implementation
- LinkedHashMap
- TreeMap