The problem can be eliminated entirely if the inheritance hierarchy is clearly defined to make sure there are no cyclical inheritance dependencies 如果清楚地定義了繼承層次結(jié)構(gòu),確保沒(méi)有形成循環(huán)繼承的相關(guān)問(wèn)題,這個(gè)問(wèn)題完全可以被消除。
You can distribute asp . net configuration files throughout your application directories to configure asp . net applications in an inheritance hierarchy 您可以在整個(gè)應(yīng)用程序目錄中分發(fā)asp . net配置文件,以便以繼承層次結(jié)構(gòu)配置asp . net應(yīng)用程序。
Perl supports single or multiple inheritance hierarchies , encapsulation , and polymorphism , but only through external modules or programmer agreement Perl支持單一繼承或多繼承、封裝以及多態(tài),但這僅僅是通過(guò)外部模塊或程序員的協(xié)同來(lái)實(shí)現(xiàn)的。
The attributes can be applied at all levels of the type inheritance hierarchy , and each method is called in the hierarchy from the base to the most derived 屬性可以應(yīng)用于類(lèi)型繼承層次結(jié)構(gòu)的所有級(jí)別,每種方法在層次結(jié)構(gòu)中從基礎(chǔ)到派生程度最大依次調(diào)用。
The standard mbeans convention would make the interfaces depend on the implementations and represents a needless duplication of the inheritance hierarchy for this system 標(biāo)準(zhǔn)mbean的約定使得接口依賴(lài)于實(shí)現(xiàn),而且代表這個(gè)系統(tǒng)的繼承層次出現(xiàn)不必要的重復(fù)。
Early object - oriented developers pioneered similar anti - patterns such as deep inheritance hierarchies while attempting to use objects to resolve complex problems 早期的面向?qū)ο箝_(kāi)發(fā)人員在嘗試使用對(duì)象解決復(fù)雜問(wèn)題時(shí),創(chuàng)造了類(lèi)似的反模式(比如深繼承層次結(jié)構(gòu)) 。
Using wildcards , inheritance hierarchy , package structure , good naming conventions , and good pointcut composition can yield acceptable pointcuts in many situations 有了通配符、繼承層次、包結(jié)構(gòu)、好的命名約定以及好的切入點(diǎn)組合,在許多情況下,您可以得到可以接受的切入點(diǎn)。
No . an attractive side effect of this approach is that existing resource bundles can become the basis for an entire inheritance hierarchy with no changes to the resource bundles 不。這種方法的一個(gè)顯著的副作用就是,現(xiàn)有的資源束可以變成整個(gè)繼承結(jié)構(gòu)的基礎(chǔ),而無(wú)須對(duì)這些資源束進(jìn)行改變。
By constraining the type parameter , you increase the number of allowable operations and method calls to those supported by the constraining type and all types in its inheritance hierarchy 通過(guò)約束類(lèi)型參數(shù),可以增加約束類(lèi)型及其繼承層次結(jié)構(gòu)中的所有類(lèi)型所支持的允許操作和方法調(diào)用的數(shù)量。
The private permission in this model can be retained through public heredity mode and the public permission ' s inheritance hierarchy can be controlled easily through role ' s permission transformation 通過(guò)公有繼承方式和角色權(quán)限轉(zhuǎn)換,使角色的私有權(quán)限得以保護(hù),公有權(quán)限的繼承層次得以簡(jiǎn)單靈活的控制,解決了由于角色繼承而復(fù)雜化的角色基數(shù)問(wèn)題。