About 190,000 results
Open links in new tab
  1. 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 …

  2. Java HashMap - W3Schools

    Java HashMap. A HashMap stores items in key/value pairs, where each key maps to a specific value. It is part of the java.util package and implements the Map interface. Instead of …

  3. A Guide to Java HashMap - Baeldung

    Jan 16, 2025 · In this tutorial, we’ll see how to use HashMap in Java, and we’ll look at how it works internally. A class very similar to HashMap is Hashtable. Please refer to a couple of our …

  4. Complete Guide to Java HashMap (with Examples)

    Dec 5, 2024 · Using Java 8 Streams with HashMap. Java Stream API provides a concise way to process a collection of objects in a fluent manner. We can use the streams with HashMap …

  5. HashMap in Java - GeeksforGeeks

    Mar 7, 2025 · In Java, HashMap is part of the Java Collections Framework and is found in the java.util package. It provides the basic implementation of the Map interface in Java. HashMap …

    Missing:
    • api
    Must include:
  6. How to Work with HashMap in Java - DEV Community

    Jan 24, 2025 · HashMap is a powerful data structure in Java that allows you to store and manage key-value pairs efficiently. This guide will cover the basics of working with HashMap, including …

    Missing:
    • api
    Must include:
  7. Java HashMap - Java Guides

    In this article, you will learn what is a HashMap, how to create a HashMap, how to add new key-value pairs to a HashMap, how to remove keys from a HashMap, how to iterate over a …

  8. Java HashMap with Example Programs + Java 8 Methods

    Nov 22, 2021 · A quick guide to Java API HashMap methods and Understand how it works internally with examples.

  9. 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 …

    Missing:
    • api
    Must include:
  10. What is a Java Hashmap? - freeCodeCamp.org

    Aug 12, 2022 · In Java, you use a HashMap to store items in key/value pairs. You can access items stored in a HashMap using the item's key, which is unique for each item. In this article, …

  11. Some results have been removed