|
-
Sep 21st, 2006, 03:59 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] [2005] what would be better....array or arrayList
Hi guys,
I have a little problem which i was hoping someone could advise me on. I download an XML file and go through it to get all the information from it. The XML file has the following layout
<results>
<result>
<time> </time>
<name> </name>
<method> </method>
</result>
</results>
I store the information from the 3 nodes in an array. This is all done on a separate thread which runs off a timer with an interval of 10000. So everytime a new XML file is downloaded the previous elements in the array are overwritten. Now i need to set up another array to use the information from the XML in another way. Now everytime i try to store the information from the XML file in the separate array i need it to add it to the end of the array so that all the previous results aren't lost. Is there a way i could do this or would i be better off storing the results in an arrayList and just using the .Add function for the list?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|