About 41,300 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

    An instance of HashMap has two parameters that affect its performance: initial capacity and load factor. The capacity is the number of buckets in the hash table, and the initial capacity is simply the capacity …

  3. 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 accessing elements by …

  4. Hash table - Wikipedia

    A small phone book as a hash table In computer science, a hash table is a data structure that implements an associative array, also called a dictionary or simply map; an associative array is an …

  5. HashMap (Java SE 11 & JDK 11 ) - Oracle

    An instance of HashMap has two parameters that affect its performance: initial capacity and load factor. The capacity is the number of buckets in the hash table, and the initial capacity is simply the capacity …

  6. A Guide to Java HashMap - Baeldung

    Jan 16, 2025 · 5. How to Avoid Casting HashMap<String, Object> Value The java.util.HashMap<K,V> class is a hash table based implementation of the Map interface. Let’s discuss how we can avoid …

  7. Java HashMap - 菜鸟教程

    Java HashMap Java 集合框架 HashMap 是一个散列表,它存储的内容是键值对 (key-value)映射。 HashMap 实现了 Map 接口,根据键的 HashCode 值存储数据,具有很快的访问速度,最多允许一条 …

  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. HashMap Internal Working Explained with Examples

    Jun 4, 2026 · HashMap remains one of Java's most important data structures. HashMap may appear simple from the outside, but internally it combines hashing algorithms, bucket indexing, collision …

  10. HashMap and TreeMap in Java - GeeksforGeeks

    Jul 23, 2025 · HashMap and TreeMap are part of collection framework. HashMap java.util.HashMap class is a Hashing based implementation. In HashMap, we have a key and a value pair<Key, Value>. …