This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Java in General and the fly likes loop through arraylist of arrays Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "loop through arraylist of arrays" Watch "loop through arraylist of arrays" New topic
Author

loop through arraylist of arrays

J Brewer
Ranch Hand

Joined: Jul 10, 2006
Posts: 46
I just can't seem to get my head around how to iterate through an arraylist of arrays.

I get as far as, for example:
details - arraylist of object Details that has a field named Data, which is also an arraylist. Data stored arrays in the arraylist.
count - an outer loop i'm using to iterate through all details arraylists.


for (int i=0; i < details.get(count-1).getData().size(); i++){




this is as far as i get. Any suggestions?


Thanks,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: loop through arraylist of arrays
 
Similar Threads
Iterate through multiple arrays
Records in Arraylist
speed up data saving
Huge data, problem iterating resultset
loop through arraylist of arrays