lamp4和lamp5是同一对象。
实体指的的是有关可代表同一对象的一组成员所编译的全部信息。
An entity represents all information compiled about a set of members that represent the same object.
同一对象类的对象定义存储在同一个对象存储库文件中。
Object definitions of the same object class are stored in the same object repository file.
So that's the key thing to-- to realize; that what the assignment did was have two separate paths to the same object.
认识到赋值会造成两个独立的绑定到;,同一对象上这件事情很关键,因此我可以通过这一条或者。
Some people like to use shallow and deep, object and value, but they're talking about the same thing, which is it the same object or is it the same, in this case, set of values, depending on what you want to define as you use it.
有些人喜欢用对象相等值相等,但是它们是同一件东西,也就是是不是同一个对象,或者是不是同样的,在这个例子中,是同样的值集合,这取决于当你使用它的时候,想要怎么来定义它。
应用推荐