File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Urgent Help!

 
Prabha Dhandapani
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have a piece of code as follows:


Is anythign wring with the way I have used the ArrayList.Please let me know if there are any errors in this?Any help ASAP would be appreciated.
Many Thanks in advance,
Prabha
 
Joel McNary
Bartender
Posts: 1824
Eclipse IDE Java Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Near as I can tell, it looks fine. I would not actually use ArrayList as my reference type; instead, I would use the more generic List (or even Collection). That way I could change it to a LinkedList or even some typ eo fSet if I wanted to.
Are you having any specific problems with this code? If so, please post them. We can't solve a problem if we don't know what it is.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic