Java HashMap Other operations
void putAll(Map t)
Copies all mappings from the map to current HashMap and replaces
existing entries, if any.
Void clear()
Removes all mappings from HashMap.
Collection values()
Returns collection of the values contained in the HashMap.
Set entrySet()
Returns a Set of entries contained in the HashMap.
Set keySet()
Returns a Set of keys contained in the HashMap.
Object clone()
Creates copy of the HashMap.
|