File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Expression should be an Array but resolves to List <String>...trying to iterate through List

 
Dick Hammer
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This was working fine when "labels" and "ListofCars_1" were arrays. But I made them a list and now it won't work.


}

Expression should be an Array but resolves to List <String>. I tried typing something like



But that did not work either. Any help would be appreciated.
 
John Jai
Rancher
Posts: 1776
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dick Hammer wrote:I tried typing something like

But that did not work either. Any help would be appreciated.

Did you also tried changing ListofCars_1[i] to ListofCars_1.get(i)?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic