473,473 Members | 2,027 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

hashmaps and arraylists

1 New Member
i have a Hashmap whose value is an array list which in turn is a Hashmap.please tell me how to implement this in code
Jan 3 '08 #1
4 1324
heat84
118 New Member
i have a Hashmap whose value is an array list which in turn is a Hashmap.please tell me how to implement this in code
I could have helped had you sent your sample code and an explantion of what your problem really is.
Jan 3 '08 #2
JosAH
11,448 Recognized Expert MVP
i have a Hashmap whose value is an array list which in turn is a Hashmap.please tell me how to implement this in code
I don't understand your question: how can a List be a Map?

kind regards,

Jos
Jan 3 '08 #3
BigDaddyLH
1,216 Recognized Expert Top Contributor
i have a Hashmap whose value is an array list which in turn is a Hashmap.please tell me how to implement this in code
Speak in code, please! Do you mean this?

Expand|Select|Wrap|Line Numbers
  1. Map<?, List<Map<?, ?>>>
Jan 3 '08 #4
dmjpro
2,476 Top Contributor
i have a Hashmap whose value is an array list which in turn is a Hashmap.please tell me how to implement this in code
Yeah Namrata come with your Sample Code.
I think that would be better for experts to answer.

Debasis Jana
Jan 10 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: godsella | last post by:
First i have two stored procedures, i have passed the values of each one into two different arraylists of dates. how can i compare the two arraylists of dates? Thanks in advance
5
by: drdave | last post by:
I would like to have ten arraylists created within a loop.. is there a conversion or something I can do to acheive this.. pseudo: Dim counter As Integer = 0 Dim ArrName As ArrayList ...
2
by: Lee | last post by:
Hi, are there equivalents in c# as java vectors and hashmaps? thanks lee
0
by: steve | last post by:
I'm looking for a code example how to compare the values in a given record in different arraylists two arraylists, two fields in each record, both defined as string I'm thinking that it's...
3
by: steve | last post by:
I need to compare the value of a field in a row on an arraylist with the value of a field on a second arraylist I have this bit of code working for arrays but cant get it working for arraylists The...
4
by: Andy in S. Jersey | last post by:
I would like to create an unknown number of Arraylists, meaning, I don't know how many I should create until runtime. I will be reading a table, and 0,1,2, or more fields have to be put into...
2
by: Andy in S. Jersey | last post by:
I would like to create an unknown number of ArrayLists, that is I don't know that until runtime. Of course I can do this if I knew I needed two: ArrayList IntervalArray1 = new ArrayList();...
1
by: milanjain | last post by:
Merge two HashMaps into one in asceding order
1
by: Newbie19 | last post by:
I'm just learning java arrays/arraylists and was wondering what are the best books for learning java arrays/arraylists? I know practice is the best way to learn, but I have a hard time...
3
by: =?Utf-8?B?Sm9zaFA=?= | last post by:
Hi All, I am attempting to compare values in two arraylists to make sure all the values are the same. I am running into trouble with my code if both arraylists compare okay up until a point and I...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.