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

  2. hashmap - Hash Map in Python - Stack Overflow

    I want to implement a HashMap in Python. I want to ask a user for an input. depending on his input I am retrieving some information from the HashMap. If the user enters a key of the …

  3. Get the highest values in a hashmap in java [duplicate]

    Get the highest values in a hashmap in java [duplicate] Asked 7 years, 3 months ago Modified 2 years, 11 months ago Viewed 39k times

  4. java - How to for each the hashmap? - Stack Overflow

    As you have HashMap<String, HashMap>, you would need two loops - one for the outer and one for the inner HashMap. Btw - you should definitively type the second HashMap - don't know …

  5. What is the difference between the HashMap and Map objects in …

    Jan 5, 2017 · 64 Map is an interface that HashMap implements. The difference is that in the second implementation your reference to the HashMap will only allow the use of functions …

  6. Difference between a HashMap and a dictionary ADT

    Sep 17, 2015 · Note that there is a difference between the "Map" abstract data type and the Map Java interface. As mentioned in other answers, the legacy Dictionary class does not …

  7. Difference between HashSet and HashMap? - Stack Overflow

    May 5, 2010 · Apart from the fact that HashSet does not allow duplicate values, what is the difference between HashMap and HashSet in their implementation? It's a little bit vague …

  8. java - Key existence check in HashMap - Stack Overflow

    Is checking for key existence in HashMap always necessary? I have a HashMap with say a 1000 entries and I am looking at improving the efficiency. If the HashMap is being accessed very …

  9. How is a JavaScript hash map implemented? - Stack Overflow

    Jan 16, 2012 · Every JavaScript object is a simple hashmap which accepts a string or a Symbol as its key, so you could write your code as: var map = {}; // add a item map[key1] = value1; // …

  10. java - Iterate through a HashMap - Stack Overflow

    Jul 1, 2009 · Since all maps in Java implement the Map interface, the following techniques will work for any map implementation (HashMap, TreeMap, LinkedHashMap, Hashtable, etc.) …