违反Liskov替换原则类结构图。
图1显示了用于映射数据绑定到这些文档的类结构。
Figure 1 shows the class structure I used for mapped data binding to these documents.
该示例恰好是图1中使用的文档和类结构的完整版本。
This is just the full version of the same document and class structure used in Figure 1.
为了进行比较,我将在有关各个数据绑定框架章节中显示生成的类结构。
In the sections on each data binding framework I'll show the generated class structures for comparison purposes.
注意,您可以使用不同的实现样式编写这个iWidget,这些样式包括语言、类结构等。
Note that you can write the iWidget using different implementation styles, including languages, class structure, and more.
为了得到最好的适配器灵活性与可扩展性,适配器的总体类结构均通过使用下列设计模式的组合来构建
To achieve the maximum level of flexibility and extensibility for the adapter, the overall class structure of the adapter is constructed by using a composition of the following design patterns
虽然创建代理的流程有一点复杂,但是数据捕捉组件提供了一组轻量级的类结构,可以极大地简化实现。
While the process of creating an agent is somewhat complex, the data capture component provides a set of lightweight class hierarchies that greatly simplify the implementation.
重复的类结构总有些碍手碍脚,所以如果频繁使用BCEL,那么可能需要编写一个包装器类,它可以隐藏其中一些不同之处。
The duplicate class structures tend to get in the way, so if you're doing much with BCEL, it may be worthwhile to write wrapper classes that can hide some of these differences.
文档针对每一种fixture都解释了其表格格式和fixture的类结构,还为使用这种fixture的具体时机提供了意见。
For each fixture type, this document explains the table format and fixture class structure and provides advice when to use and when not to use it.
中华龙鸟化石的某些部分保存十分完好,科学家们甚至发现了包含色素的细胞结构,他们认为这种猫类大小的史前动物是彩色的,甚至还拥有一条带条纹的尾巴
Some of its fossils are so well preserved that scientists can see traces of cell structures that contained pigments. The finding led to colorful views of the cat-size animal, down to its striped tail.
很多人发现这是一种快速查看类基本结构的方法,而不会被大量代码分心。
Many people find this a way to see the basic structure of a class quickly without getting distracted by large amounts of code.
下面的清单显示了ShortMessageEvent类的结构。
The following listing shows the structure of the ShortMessageEvent class.
表示构造方法的UML操作有和其母体类或结构名相同的名字。
A UML operation representing a constructor is given the same name as its parent class or structure name.
RDL中使用的属性名是基于EMF类的结构特性的。
The names of the properties used in RDL are based on the structural features exposed in the EMF classes.
清单3:检查类的继承结构。
修改类加载器结构应该使应用程序能够成功迁移。
Modifying the classloader structure should allow the application to migrate successfully.
但是不要忘了调度类是任务结构本身的一部分(参见图2)。
But recall that the scheduling classes are part of the task structure itself (see Figure 2).
图1:uml类图显示了结构元素。
然而,对于设计已定义的服务中的底层类和组件结构,OO仍然是一种有价值的方法。
However, OO still is a valuable approach for design of the underlying class and component structure within a defined service.
它表示一个XML元素(来自清单1),是类层次的基本结构。
This represents the one XML element (from Listing 1) and is the basic structure for the class hierarchy.
清单1显示了我用作基本数据结构表示的类。
Listing 1 shows the classes I'll use for the basic data structure representation.
JiBX 不是根据DTD或Schema生成代码,而是使用绑定定义,该定义将用户提供的类与XML结构相关联。
Rather than generating code from a DTD or Schema, JiBX works with a binding definition that associates user-supplied classes with XML structure.
通过选择内容菜单中Explorein BrowseDiagram选项来产生抽象类图的树状结构。
Generate the tree structure of the abstract class diagram by selecting the Explore in Browse diagram from the context menu.
使用JAXB时还需要一个XMLSchema以生成类和数据结构。
You also need an XML Schema to generate classes and data structures from as you work with JAXB.
就算多重接口继承允许我们构造对应的接口集,但是实现这些接口的类不能直接遵循该结构。
Granted, multiple interface inheritance would allow us to construct a corresponding set of interfaces, but the classes implementing these interfaces couldn't follow the structure directly.
也可以用框架直接从类文件解码出数据结构信息,甚至从源代码进行解码。
You can also use frameworks that decode the data structure information directly from class files, or even from source code.
添加一个方法并不要求更新对象的结构,但确实是需要更新类的结构的,这也会体现在堆上。
Adding a method does not require updating the object structure, but it does require updating the class structure, which is also present on the heap.
在众多的事情当中,收集器检查类装入器的数据结构,来判断哪个类是活动的——也就是说,不应当被当作垃圾收集的。
Among other things, the collector examines the class loader data structures to determine which classes are live — that is, are not garbage collectable.
为了允许递归,协作结构被嵌套到类的规范中。这就是说这个类的所有实例都将有一个由类定义的内部结构。
To allow recursion, a collaboration structure is nested within a class specification, which means that all instances of that class will have an internal structure specified by the class definition.
UML2(以及UML - RT)支持结构化的类和结构分层,此支持是处理大型系统时的基础。
UML2 (as well as UML-RT) has support for structured classes and structure hierarchy; this support is fundamental when dealing with large systems.
应用推荐