java - what type of Data Structure to be used to store this type of data? -


i retrieving data database in format in key , value pair .

| soft drinks        | bottled,lemon(19)                            | soft drinks        | bottled,clear(20)                            | ice creams        | cone,koolcool(21)                            | ice creams        | stick,koolcool,sai,babasai(27)               

please suggest ,is there data structure store type of data ??

the key duplicated cant use map .

you use multimap stores collection of entries each key.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -