HashMap is often used when developing in Java, so I summarized it as a review.
Map
It is managed by elements different from List, Set, and Queue. Map manages elements by the combination of key and value.
HashMap
HashMap is the most basic class of Map implementation class. The key cannot be duplicated. Has no turn.
Get the number of elements in Map
Remove all elements
Get the value corresponding to key
Get all keys
Add the specified key / value combination
Determine if Map is empty
Delete the specified key
Get all values
Determine if key is included in Map
Determine if value is included in Map
Recommended Posts