Home Java SCJP SCWCD Servlet Submit News Contact Us Site Map


Over 500 magazines for free (including Oracle Magazine)!

Yes all of them are FREE. You can subscribe to ALL of them.
Click here to apply today!

Home > Java > Java Articles

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.

 

<< HashMap Methods

HashMap Example >>


Home Java SCJP SCWCD Servlet Site map