Top "Map" questions

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

YAML: dictionary with empty value

How do I write in YAML a dictionary (map) where one key has the empty string as its value?

dictionary map yaml
How can I use the map datatype in Apache Pig?

I'd like to use Apache Pig to build a large key -> value mapping, look things up in the …

syntax map hadoop apache-pig
Developing Geographic Thematic Maps with R

There are clearly a number of packages in R for all sorts of spatial analysis. That can by seen in …

r map geolocation geospatial
How to receive difference of maps in java?

I have two maps: Map<String, Object> map1; Map<String, Object> map2; I need to receive …

java collections map set set-difference
Close All Popups with Leaflet.js

I'm working on a map using Leaflet.js that uses a number of markers (eventually there will be ~40 markers). Each …

javascript map popup
Returning an unmodifiable map

Using Collections.unmodifiableMap(...), I'm trying to return an unmodifiable view of a map. Let's say I have the following method, …

java collections map unmodifiable
C++ STL map::erase a non-existing key

Regarding the C++ STL map, erasing by key:- size_type map::erase ( const key_type& x ); Is it …

c++ stl map key erase
How to iterate/count for a multimap<string,string>

My class is like this: class Outgoing { multimap<string,string> outgoing; public: void makeConnection(string key, string value) { …

c++ stl map multimap
Jquery: mouseover event on image map area

I'm trying to do actions on mouseover of an image map area. Here is my HTML: <img src="img/…

jquery image map area