Hi,
Okay, this is the trick of the dissappearing class...
I have a class that holds some values, and an arraylist. The siez thereof is - sya - 2 (the arraylist, that is)
I call and instantiate a class and give it the holder class as parameter. Before doing that, the holder class reports the correct size, the second time, the size is 0.
If I call a method and feed such a class as parameter
Quote:
aClass = new SomeClass();
System.out.println("het holderclass has : " + aHolder.thelist().size + " elements.");
// aHolder.thelist() returns an ArrayList() of Serialized stuff
aClass.takeTheList(aHolder);
|
when I call this, the second run reposts no elements in the arraylist.
Where do I goof off...
Do you need to call like "byref" or something?
Tnx!!
Thor