About 139,000 results
Open links in new tab
  1. HashMap (Java Platform SE 8 ) - Oracle

    Hash table based implementation of the Map interface. This implementation provides all of the optional map operations, and permits null values and the null key. (The HashMap class is …

  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. HashMap in Java - GeeksforGeeks

    Mar 7, 2025 · HashMap in Java implements Serializable, Cloneable, Map<K, V> interfaces.Java HashMap extends AbstractMap<K, V> class. The direct subclasses are LinkedHashMap and …

  4. 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, …

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

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

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

  8. A Guide to HashMap in Java With Examples

    Jan 18, 2024 · HashMap is a data structure that implements the Map interface and uses a hash table for storing key-value pairs. It allows the insertion of elements based on key-value pairs …

  9. Understanding Java HashMap: A Comprehensive Guide - W3docs

    A HashMap in Java is a data structure that consists of a collection of key-value pairs, where each key is unique. The keys are used to access the corresponding values in the HashMap.

  10. HashMap in Java: A Detailed Explanation - ScholarHat

    Feb 11, 2025 · In this Java tutorial, we will learn about HashMap in Java, including its hierarchy, c reating a HashMap, Java HashMap Constructors, adding and accessing elements, iterating …

Refresh