Questions tagged [nested-map]

63 questions
-1
votes
2 answers

Performance in Nesting three maps Vs Separate maps in C++

I am confused to choose between the two methods to have a STL structure , Method A: map,map>*>*> Method B: Is the above advisable or having a separate maps like…
Sel_va
  • 588
  • 5
  • 25
-2
votes
2 answers

Converting a nested HashMap with a list to another nested HashMap with a linkedHashMap instead of the list

I have a map in java that is an instance of the following: Map< K1,Map< K2, List>> I want to convert it to the following structure: Map< K1, Map< K2, LinkedHashMap>> Where Value is a property of Object. I also want to…
-3
votes
1 answer

How to acheive the order of insetion in nested maps using golang

In my project we are using nested map map[string]map[string]map[string]string for insertion of the data into cache. While preparing the data the db data has to be compared with the cache data(nested map data). Here is the concern: we need order of…
1 2 3 4
5