• Post Reply Bookmark Topic Watch Topic
  • New Topic

s:iterator problem...

 
Pradeep Adibatla
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 5 ArrayLists and I want to populate the values of arraylist in rows of 5 column table depending on size of AL

This is the code...



I want to print the 1st values of 5 AL in 1st row,2nd value of 5 AL in 2nd row and so on...

However the above code is a hash

what should be the correction?
 
Ankit Garg
Sheriff
Posts: 9597
36
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I cannot understand your code, but if you want to iterate over 5 lists simultaneously, then you can do it like this
 
Anything worth doing well is worth doing poorly first. Just look at this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!