Actually, this is not a problem of advantages and disadvantages - it is the keys, values and records of map that are important .
Keys on the map are unique
Map - Map, A Collection, , , Set.
, Set keySet.
, values Map .
, "fruit" map "apple", "computer" "apple":
map {
key:"fruit" -> value:"apple"
key:"computer" -> value:"apple"
}
.
Set, , . a Map Collection, , .
Map - , Map.Entry, - , Set entrySet.