Thanks. I really appreciate your prompt reply. I still have some questions, though - or is it fond hopes? - as follows:
If the program is not interactive but simply makes addition/deletion decisions based on information collected in various steps, and if it adds things "before" or "after" things already put into the collection, would the order stay as intended? And if a decision required reordering things already in the collection, could I do that by deleting them one by one in the desired order and immediately adding each one to a new collection in the new order? (Or is there a method that could simply change an object from being "before" one object and make it "before" another one, instead?)
Again, can you point me to some reference - book, web site, etc?
Quote:
quote:Originally posted by tnd
No a collection is not the same as a linked list. In fact there is no gaurantee the ordering of items in a collection would remain the same as you add/remove items from the collection.
Yes you can have a collection of a collection.
|