Courses / Java Collections Framework
8. Map Interface
An interface that represents a collection of key-value pairs, where each key is unique.
1 min read Chapter 8 of 16
Java
Map Interface
A Map is a collection of unique key-value pairs.
"I need a way to store data that lets me quickly look things up by a unique identifier."
A Map interface allows you to store data as key-value pairs, where each key must be unique and is used to retrieve the corresponding value.
"I need a way to store data that lets me quickly look things up by a unique identifier."
A Map interface allows you to store data as key-value pairs, where each key must be unique and is used to retrieve the corresponding value.