|
Re: Object clone: msg#00072lang.smalltalk.squeak.beginners
Hi, In squeak copy is implemented as: ^self shallowCopy postCopy and deepCopy just copy 2 layers of instance, so if the object has tree like sub instance, postCopy must be implemented. Best regards. -Liu Xinyu On Jan 16, 2008 2:11 AM, Randal L. Schwartz <merlyn@xxxxxxxxxxxxxx> wrote: >>>>> "Marcin" == Marcin Tustin <mm3@xxxxxxxxxx> writes: _______________________________________________ Beginners mailing list Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx http://lists.squeakfoundation.org/mailman/listinfo/beginners
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Reminder - Check your Squeak People Email or Sign up to vote, Michael van der Gulik |
|---|---|
| Next by Date: | Getting a list of files from a folder, Marcus Strehlow |
| Previous by Thread: | Re: Object clone, Randal L. Schwartz |
| Next by Thread: | Object copyFrom: [was: Object clone], Klaus D. Witzel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |