The problem can be eliminated entirely if the inheritance hierarchy is clearly defined to make sure there are no cyclical inheritance dependencies 如果清楚地定义了继承层次结构,确保没有形成循环继承的相关问题,这个问题完全可以被消除。
You can distribute asp . net configuration files throughout your application directories to configure asp . net applications in an inheritance hierarchy 您可以在整个应用程序目录中分发asp . net配置文件,以便以继承层次结构配置asp . net应用程序。
Perl supports single or multiple inheritance hierarchies , encapsulation , and polymorphism , but only through external modules or programmer agreement Perl支持单一继承或多继承、封装以及多态,但这仅仅是通过外部模块或程序员的协同来实现的。
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 属性可以应用于类型继承层次结构的所有级别,每种方法在层次结构中从基础到派生程度最大依次调用。
The standard mbeans convention would make the interfaces depend on the implementations and represents a needless duplication of the inheritance hierarchy for this system 标准mbean的约定使得接口依赖于实现,而且代表这个系统的继承层次出现不必要的重复。
Early object - oriented developers pioneered similar anti - patterns such as deep inheritance hierarchies while attempting to use objects to resolve complex problems 早期的面向对象开发人员在尝试使用对象解决复杂问题时,创造了类似的反模式(比如深继承层次结构) 。
Using wildcards , inheritance hierarchy , package structure , good naming conventions , and good pointcut composition can yield acceptable pointcuts in many situations 有了通配符、继承层次、包结构、好的命名约定以及好的切入点组合,在许多情况下,您可以得到可以接受的切入点。
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 不。这种方法的一个显著的副作用就是,现有的资源束可以变成整个继承结构的基础,而无须对这些资源束进行改变。
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 通过约束类型参数,可以增加约束类型及其继承层次结构中的所有类型所支持的允许操作和方法调用的数量。
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 通过公有继承方式和角色权限转换,使角色的私有权限得以保护,公有权限的继承层次得以简单灵活的控制,解决了由于角色继承而复杂化的角色基数问题。