Top "Map" questions

A dictionary maps keys to values allowing efficient retrieval of values by keys.

Partly JSON unmarshal into a map in Go

My websocket server will receive and unmarshal JSON data. This data will always be wrapped in an object with key/…

json map go
Loop through a Map with JSTL

I'm looking to have JSTL loop through a Map<String, String> and output the value of the key …

map loops jstl
Bi-directional Map in Java?

I have a simple integer-to-string mapping in Java, but I need to be able to easily retrieve string from integer, …

java map guava apache-commons
Iterating through a golang map

I have a map of type: map[string]interface{} And finally, I get to create something like (after deserializing from …

map go loops
What's the difference between the data structure Tree and Graph?

Academically speaking, what's the essential difference between the data structure Tree and Graph? And how about the tree based search …

search data-structures map tree
Runtime error: assignment to entry in nil map

I am trying to generate a map and then convert that to a yaml file like this: uid : kasi: cn: …

map go yaml
Which data structure would you use: TreeMap or HashMap? (Java)

Description | A Java program to read a text file and print each of the unique words in alphabetical order together …

java data-structures map hashmap treemap
How to find current zoom level in a Google Map?

How do I find the current zoom level when loading or clicking a Google map?

google-maps-api-3 map
Inspecting standard container (std::map) contents with gdb

Supposing to have something like this: #include <map> int main(){ std::map<int,int> m; m[1] = 2; …

c++ stl map gdb
Choosing between std::map and std::unordered_map

Now that std has a real hash map in unordered_map, why (or when) would I still want to use …

c++ c++11 hash map unordered-map