When you copy an object reference using an ordinary (strong) reference, you constrain the lifetime of the referent to be at least as long as that of the copied reference.
用一个普通的(强)引用拷贝一个对象引用时,限制referent的生命周期至少与被拷贝的引用的生命周期一样长。
The new Spaces adapt their height and shape to the existing buildings. The aim of the project is not to be a visual referent to alter the architectural profile of Triana.
新空间适应现有建筑的高度和形状,该项目的目标不是成为一个标新立异的建筑去改变特里亚纳的建筑轮廓。
With weak references, you can maintain a reference to the referent without preventing it from being garbage collected.
使用弱引用后,可以维持对referent的引用,而不会阻止它被垃圾收集。
Is is essentially saying, given 2 things, do they point to exactly the same referent?
或者换种思考的方式,大家记得我说过当我们,调用类的定义声明的时候,它会创建一个实例?
应用推荐