Creates a shallow copy of this hashtable.
创建一个哈希表的浅拷贝。
If the object contains references to other objects, the shallow copy does not create copies of the referred objects.
如果对象包含对其他对象的引用,则浅表副本不创建所引用的对象的副本。
If the object contains references to other objects, the shallow copy will not create copies of the referred objects.
如果物件包含其他物件的参考,浅层复本将无法建立受参考物件的复本。
A particular instance of that is deep versus shallow copy.
一个很好的例子就是深复制和浅复制,当你想要复制一个链表的时候。
应用推荐