This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ArrayList problem

 
Christian Long
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, here is part of my code that is working for Reading Objects from a File:


The Problem is that now I need to replace this Array by an ArrayList.
But I cannot understand(make it work) how to Read the Objects to the ArrayList.
[ October 06, 2007: Message edited by: Christian Long ]
 
Henry Wong
author
Marshal
Pie
Posts: 20836
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Problem is that I now need to replace this Array by an ArrayList.
But I cannot understand how to Read the Objects to the ArrayList.


How about reading the object to an employee reference, and then add the reference to the array list?

Henry
 
Christian Long
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok - Thanks a lot. Its working.

This Topic can be closed.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic