Difference between clone and copy
2012-05-25 12:29
344 查看
Clone --
Creates another reference (Pointer) to the same location.(Shadow copy,即复制引用)
Copy --
Creates two different references to two different Address Spaces. (Deep copy,即复制对象实例)
Creates another reference (Pointer) to the same location.(Shadow copy,即复制引用)
Copy --
Creates two different references to two different Address Spaces. (Deep copy,即复制对象实例)
相关文章推荐
- What is the difference between Array.Clone and Array.Copy Method
- what is the difference between MirrorView, SanCopy, SanpSure and SnapView
- Difference between shallow copy and deep copy?
- Difference between shallow copy and deep copy? 浅复制和深复制的区别
- Differences between "in"/"out" and "nocopy"
- Difference between git remote add and git clone
- difference between Python shallow copy and deep copy
- Differences between Hibernate 2.1 and Hibernate 3.x
- [zz]The difference between thread-safety and re-entrancy
- What Are The Differences Between Base, Medium, and Full Camera Link Configurations?
- Difference between MBR and GPT in hard disk
- Self Summary: Lua Language(two useful links) and the difference between : and .
- What is the difference between AWT and SWT?
- What is the difference between a binary tree, a binary search tree, a B tree and a B+ tree?
- Difference between LINQ to SQL and the Entity Framework
- What is the difference between BIT and TINYINT in MySQL
- The difference between EXISTS and IN upon Oracle
- Difference between HashMap and HashTable? Can we make hashmap synchronized?
- Differences between abstract class and interface