Java Collection Tutorial - HashMap Example








Constructor

  1. Java HashMap() Constructor
  2. Java HashMap(int initialCapacity) Constructor
  3. Java HashMap(int initialCapacity, float loadFactor) Constructor

Method

  1. Java HashMap.clear()
  2. Java HashMap.clone()
  3. Java HashMap.containsKey(Object key)
  4. Java HashMap.containsValue(Object value)
  5. Java HashMap.entrySet()
  6. Java HashMap.get(Object key)
  7. Java HashMap.isEmpty()
  8. Java HashMap.keySet()
  9. Java HashMap.put(K key, V value)
  10. Java HashMap.putAll(Map m)
  11. Java HashMap.remove(Object key)
  12. Java HashMap.size()
  13. Java HashMap.values()