Top "Hashmap" questions

A data structure that uses a hash function to map identifying values, known as keys, to their associated values

Java HashMap performance optimization / alternative

I want to create a large HashMap but the put() performance is not good enough. Any ideas? Other data structure …

java performance optimization map hashmap
Get value from hashmap based on key to JSTL

I want to get the value of HashMap based on key. HashMap<String, ArrayList<String>> map = …

java jsp hashmap jstl
How do I copy a hash in Ruby?

I'll admit that I'm a bit of a ruby newbie (writing rake scripts, now). In most languages, copy constructors are …

ruby serialization hashmap copy deep-copy
When to use HashMap over LinkedList or ArrayList and vice-versa

What is the reason why we cannot always use a HashMap, even though it is much more efficient than ArrayList …

java arrays arraylist linked-list hashmap
Collision resolution in Java HashMap

Java HashMap uses put method to insert the K/V pair in HashMap. Lets say I have used put method …

java hashmap
Accessing the last entry in a Map

How to move a particular HashMap entry to Last position? For Example, I have HashMap values like this: HashMap<…

java maps hashmap
Reverse HashMap keys and values in Java

It's a simple question, I have a simple HashMap of which i want to reverse the keys and values. HashMap&…

java hashmap
What is the use of adding a null key or value to a HashMap in Java?

HashMap allows one null key and any number of null values. What is the use of it?

java null hashmap key
Is there Java HashMap equivalent in PHP?

I need PHP object similar to HashMap in Java, but I didn't find when I googled, so if someone knows …

php hashmap
The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files

I am writing a simple Java program on Eclipse. import java.util.HashMap; public class Demo { public static void main(…

java eclipse hashmap libraries