referent
常見(jiàn)例句
- Weak references have two constructors: one takes only the referent as an argument and the other also takes a reference queue.
弱引用有兩個(gè)構(gòu)造函數(shù):一個(gè)只取 referent 作為參數(shù),另一個(gè)還取引用隊(duì)列作為參數(shù)。 - Reference objects themselves are subject to garbage collection and can be collected before the referent, in which case they are not enqueued.
Reference 對(duì)象本身服從于垃圾收集,并且可在 referent 之前被收集,在這樣的情況下,它們沒(méi)有加入隊(duì)列。 - 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 類(lèi)型在加入隊(duì)列之前被清除,所以處理事后檢查(post-mortem)清除的線程永遠(yuǎn)不會(huì)具有 referent 對(duì)象的訪問(wèn)權(quán),而只具有 Reference 對(duì)象的訪問(wèn)權(quán)。 - Is is essentially saying, given 2 things, do they point to exactly the same referent?
或者換種思考的方式,大家記得我說(shuō)過(guò)當(dāng)我們,調(diào)用類(lèi)的定義聲明的時(shí)候,它會(huì)創(chuàng)建一個(gè)實(shí)例?
麻省理工公開(kāi)課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選 返回 referent