所以,造型就是沿着继承图朝着基类向上:向上造型。
Thus, casting to a base type is moving up the inheritance diagram: upcasting.
凭借继承图,开发者能快速访问到类型的整个继承关系。
The ancestry diagram allows the developer to quickly access the hierarchy of a type.
因此,我们可以在单元级别定义这些变量,这样,单元中的每个框都将继承这些定义(图31)。
Therefore, we can define those variables at the cell level, so that every box in the cell will inherit those definitions (Figure 31).
图1中的第二条时间线显示了发生优先级继承时第一条时间线的锁定行为的变化情况。
The second timeline in Figure 1 shows how the locking behavior of the first timeline changes when priority inheritance is in effect.
总之,该部分讨论了UML和类图、继承、多态性、封装…一些应该在开头为您介绍的东西。
Anyway, this section talks about UML and class diagrams, inheritance, polymorphism, encapsulation... things they should have shown you in the beginning.
图1显示了它们的继承层次结构。
识别一个uml类图的继承树。
图2显示了DictionaryIO和xmldictionaryio类之间的继承关系。
Figure 2 shows the inheritance relationship between the DictionaryIO and XmlDictionaryIO classes.
图5展示了产生一个继承树类图的过程。
Figure 5 demonstrates the process of generating an inheritance tree class diagram.
图2简单地指出了Class的概念,这是一种和接口以及数据类型有关(通过从Classifier继承)的高度专业化的元素。
Figure 2 is simply pointing out the concept of Class, which is a highly specialized element that is related to interface and data type (through its inheritance from Classifier).
在图10中显示的图中,Professor和Student类都实现了Person的接口,但并不从它继承。
In the diagram shown in Figure 10, both the Professor and Student classes implement the Person interface and do not inherit from it.
将继承映射到关系数据库中有三种基本解决办法,为更好地理解它们,我将讨论在图1中显示的映射类图表的优缺点。
There are three fundamental solutions for mapping inheritance into a relational database, and to understand them I will discuss the trade-offs of mapping the class diagram presented in Figure 1.
如图10所示,一条带有闭合的单向箭头的点线意味着实现(或实施);正如我们在图4中所见到的,一条带有闭合单向箭头的实线表示继承。
As shown in Figure 10, a dotted line with a closed, unfilled arrow means realization (or implementation); as we saw in Figure 4, a solid arrow line with a closed, unfilled arrow means inheritance.
服务的实现,如一组调用流图所描述的,在设计模型中从继承正确框架类的单个原型化的类开始。
A realization of the service, as described by a set of call flow diagrams, begins in the design model with a single stereotyped class that extends the right framework class.
他一直相信自己也是埃及真正的统绐者,就象拉姆西斯二世和图塔摩斯三世那样被神灵选定的正当的继承人。
But he considered himself the true ruler of Egypt as well, the rightful heir to the spiritual traditions practiced by pharaohs such as Ramses II and Thutmose III.
因为他是法老唯一的儿子,法老死后,图特·摩斯三世会成为王位的第一顺序继承人。
Because he was the pharaoh's only son, Thutmose III would have become the first in line for the throne when Thutmose II died.
在图7中,几乎所有的关系是use除去继承关系。
In Figure 7, almost every relationship is a use apart from the inheritance.
在图2中,我们已经将类Scrollable转换成mixin,它可以继承不同上下文中的不同类。
In Figure 2, we've turned class Scrollable into a mixin that can extend different classes in different contexts.
动态绑定方法的调用,然而,这将涉及到继承类图。
A dynamically bound method call, however, reaches "outward" into the inheritance hierarchy.
这样产生了ShowRelatedElements对话框(图12),它预先规定了能够帮助继承性树可视化过程的查询系统,包括图等等。
This brings up the Show Related Elements dialog (Figure 12), which has predefined queries that help to visualize the inheritance tree, to include graphs, and so on.
声明内部类Collab,Collab继承了RuntimeCollaborator抽象类并实现了在MBean描述符中为MBean声明的操作和属性(图2)。
Declare an inner class, Collab that extends the RuntimeCollaborator abstract class, and implements the operations and attributes declared for the MBean in the MBean Descriptor (Figure 2).
RTLinux通过使用名为优先级继承(也称作优先级借出(priority lending))的策略防止发生优先级反转,图2底部的图表做了解释。
RT Linux prevents priority inversion through a policy known as priority inheritance (also known as priority lending), illustrated in Figure 2's bottom diagram.
在图12 - 2,在之前本书中学习到的这个界面支持在你的数据库使用列识别器来设计继承。
As you learned earlier in the book, this form of inheritance is supported through the use of a discriminator column in your database as well as the UI, as seen in Figure 12-2.
图1显示了继承层次。
例如,如果两个用例包图之间存在依赖,很可能一个包中的某个用例和另一个包中的某个用例之间存在包含、扩展或者继承关系。
For example, if it's a use-case package diagram, then there is likely an include, extend, or inheritance relationship between a use case in one package and one in the other package.
对应分类法继承和改善了常规方法,能用较简单步骤和单一图件更有效地揭示数据中的核心信息。
With corresponding classification, the usual methods are inherited and modified, the key information in data can be exposed more effectively based on simpler steps and single graph.
继承最终会形成一个像大家庭一样的类群,它们都继承了同一组接口。我们用一棵反转的树形图来说明它们:5。
Inheritance usually ends up creating a family of classes, all based on the same uniform interface. We express this with an inverted tree diagram: 5.
继承最终会形成一个像大家庭一样的类群,它们都继承了同一组接口。我们用一棵反转的树形图来说明它们:5。
Inheritance usually ends up creating a family of classes, all based on the same uniform interface. We express this with an inverted tree diagram: 5.
应用推荐