Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ArrayList problem  RSS feed

 
Christian Long
Greenhorn
Posts: 28
  • 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
Sheriff
Posts: 22836
119
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok - Thanks a lot. Its working.

This Topic can be closed.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!