Java Reference
In-Depth Information
Tuesday
Monday
Sunday
Map
A map isagroupofkey/valuepairs(alsoknownasentries).Becausethekeyidentifies
anentry,amapcannotcontainduplicatekeys.Furthermore,eachkeycanmaptoatmost
onevalue.Mapsaredescribedbythe Map interface,whichhasnoparentinterface,and
whose generic type is Map<K,V> ( K is the key's type; V is the value's type).
Table 5-8 describes Map 's methods.
Search WWH ::




Custom Search