Then you should override the to text property (or make yourself one) that returns the data you want formated like a string. Then you can write a procedure that get all the data from every "collection".
You could write and interface, or inherits all this classes from a print class, but somewhere you will have to say how to print the data.
And for the collections, you have collections, but they are specialized (sortedlist, hashmap, dictionary, and others).
__________________
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the proof.
================================================== =========
|