referent
常见例句
- Weak references have two constructors: one takes only the referent as an argument and the other also takes a reference queue.
弱引用有两个构造函数:一个只取 referent 作为参数,另一个还取引用队列作为参数。 - Reference objects themselves are subject to garbage collection and can be collected before the referent, in which case they are not enqueued.
Reference 对象本身服从于垃圾收集,并且可在 referent 之前被收集,在这样的情况下,它们没有加入队列。 - All Reference types are cleared before they are enqueued, so the thread handling the post-mortem cleanup never has access to the referent object, only the Reference object.
所有 Reference 类型在加入队列之前被清除,所以处理事后检查(post-mortem)清除的线程永远不会具有 referent 对象的访问权,而只具有 Reference 对象的访问权。 - Is is essentially saying, given 2 things, do they point to exactly the same referent?
或者换种思考的方式,大家记得我说过当我们,调用类的定义声明的时候,它会创建一个实例?
麻省理工公开课 - 计算机科学及编程导论课程节选 返回 referent