About 41,200 results
Open links in new tab
  1. HashMap in Java - GeeksforGeeks

    May 13, 2026 · A HashMap is a part of Java’s Collection Framework and implements the Map interface. It stores elements in key-value pairs, where, Keys are unique. and Values can be duplicated.

  2. HashMap (Java Platform SE 8 ) - Oracle

    Constructs a new HashMap with the same mappings as the specified Map. The HashMap is created with default load factor (0.75) and an initial capacity sufficient to hold the mappings in the specified Map.

  3. Java HashMap - W3Schools

    Since HashMap implements the Map interface, this is possible. It works the same way, but some developers prefer this style because it gives them more flexibility to change the type later.

  4. Hash table - Wikipedia

    Many programming languages provide built-in hash table structures, such as Python’s dictionaries, Java’s HashMap, C++’s unordered_map, Go maps, which abstract the complexity of hashing from …

  5. What is a hash map in programming and where can it be used

    Apr 7, 2010 · Hashmap is used for storing data in key value pairs. We can use a hashmap for storing objects in a application and use it further in the same application for storing, updating, deleting values.

  6. A Guide to Java HashMap - Baeldung

    Jan 16, 2025 · In this article, we saw how to use a HashMap and how it works internally. Along with ArrayList, HashMap is one of the most frequently used data structures in Java, so it’s very handy to …

  7. std::unordered_map - cppreference.com

    std::unordered_map is an associative container that contains key-value pairs with unique keys. Search, insertion, and removal of elements have average constant-time complexity. Internally, the elements …

  8. Java HashMap (With Examples) - Programiz

    The HashMap class provides the functionality of the hash table data structure in Java. In this tutorial, we will learn about the Java HashMap class and its various operations with the help of examples.

  9. What is a HashMap in Java? - Educative

    Mar 10, 2026 · A Java HashMap is a hash-table-based data structure that stores unique key-value pairs, offering average O (1) time complexity for put, get, and remove operations.