I think my understanding of OrderedCollections has been incorrect for a very 
long time. I have never had a situation where it mattered, but in modeling a 
current project, I think I have been approaching it incorrectly.

Since I have been using Smalltalk, I assumed that a copy of an object is added 
to an OrderedCollection. A quick test shows that a reference to that object is 
added to the OrderedCollection.

I just wanted a sanity check on this. Is this true with all collections?

Thanks!


----
peace,
sergio
photographer, journalist, visionary

Public Key: http://bit.ly/29z9fG0
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
http://www.codeandmusic.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to