Top "Map" questions

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

std::map thread-safety

Is reference to object in std::map is thread safe? std::map< std::string, Object > _objects; map can …

c++ multithreading map stdmap
Functional programming, Scala map and fold left

What are some good tutorials on fold left? Original question, restored from deletion to provide context for other answers: I …

scala map functional-programming fold
Removing a Given Key from a Groovy Map

I'm sure this is a very simple question, but I'm very new to Groovy and it's something I've been struggling …

map groovy httprequest
Read data from HashMap using JSTL tag in JSP without using for each or for loop

I want to read data from a hash map in JSP, but without the use of JSTL <c:forEach&…

java jsp map jstl
boost::flat_map and its performance compared to map and unordered_map

It is common knowledge in programming that memory locality improves performance a lot due to cache hits. I recently found …

c++ boost map
How do you serialize a Map to JSON in Scala?

So I have a Map in Scala like this: val m = Map[String, String]( "a" -> "theA", "b" -&…

json scala serialization map lift
Drawing a path with a line in OpenLayers using JavaScript

I have seen the examples presented here of how to draw a line but the examples only show how to …

javascript map openlayers
Go map of functions

I have Go program that has a function defined. I also have a map that should have a key for …

map go key-value func
Does Java's LinkedHashMap maintain the order of keys?

When LinkedHashMap.keySet() is called, will the order of the Set returned be the same as the order the keys …

java map set linkedhashmap
How do I wait for asynchronous tasks to complete in scala?

I'm aware that my problem might seem a little bit complex. But I'll try to express myself well. I have …

scala asynchronous map future