Top "Map" questions

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

map versus mapM behavior

I'm on the I/O chapter of Real World Haskell. Monads aren't discussed in the book for another 7 chapters. Which …

map monads haskell
How to increment a value in a map with Apex?

Is there a way to increment a value in a map without needing a second variable? for example, this doesn't …

map salesforce apex-code increment visualforce
How to do OpenLayers map height 100% on bootstrap

I want to 100% of the height. <div class="container-fluid"> <div class="row"> <div id="map" …

twitter-bootstrap map openlayers
Shared map with boost::interprocess

I have a simple requirement that might be tough to solve. I did find some leads like this or this …

c++ boost map shared-memory boost-interprocess
Transform bag of key-value tuples to map in Apache Pig

I am new to Pig and I want to convert a bag of tuples to a map with specific value …

map apache-pig
How to convert hashmap to Array of entries

I have a map private HashMap<Character, Integer> map; I want to convert it to array but when …

java arrays collections map toarray
Map that could be iterated in the order of values

I need a Map that could be iterated in the decreasing order of its values. Does any of the standard …

java collections map guava apache-commons
Jackson Modules for Map Serialization

I have a Class that contains a Map (with non String key) and some other fields. public class MyClass() { private …

java serialization map jackson jackson-modules
How to get the difference of two maps based on the key set?

I have two maps: Map<String, Sample> newMap = convertJSONObjectToSampleMap(newMapStr); Map<String, Sample> oldMap = convertJSONObjectToSampleMap(oldMapStr); …

java collections map set-difference
Understanding TreeMaps

this is a noobie question regarding tree maps. I have read through the Java API and other documentation but am …

java map treemap