enclosing instance 中文意思是什麼
enclosing instance
解釋
外圍實例-
It is possible to let the " this " reference escape without the word " this " appearing in your program ; publishing a nonstatic inner class instance has the same effect, because an inner class holds a reference to its enclosing object s " this " reference
如果「 this 」這個詞不會出現在程序中,就可讓「 this 」引用轉義;發布一個非靜態內部類實例可以達到相同的效果,因為內部類持有對它包圍的對象的「 this 」引用的引用。
分享友人