Now, if I have a moderate-sized project, I might use UML and a tool that supports UML to create enough class diagrams, sequence diagrams, and others to convey the design.
现在,如果我有一个中等规模的项目,我可能会利用UML和一个支持UML的工具来创建足够的类图、序列图以及其它图来传达设计。
For completeness the class diagram and sequence diagram are shown below.
作为补充,下面给出了类关系图和序列关系图。
Thus, the development team responsible for unit testing should make sure that class and sequence diagrams are included as project deliverables.
因此,这个负责单元测试的开发团队应该确保这个类和序列图包含在项目交付产品中。
If the project organization is using UML for modeling, unit testers will need sequence diagrams, class diagrams, and perhaps activity diagrams.
如果这个项目组织利用uml来建模,那么单元测试将需要序列图,类图,可能还会需要活动图。
The sections that follow provide solutions to each problem and demonstrate how to produce meaningful class and sequence diagrams.
接下来的部分为每个问题提供一个解决方案,并论证了怎样产生有意义的类及序列图。
As we move from use case diagrams into sequence and class diagrams, we will immediately notice the impact of known actors.
当我们从用例图转入到序列图和类图时,马上就会注意到已知的参与者的影响。
Sequence diagrams can be used to describe the USES of a class or interacting group of classes, thus describing the protocols required for interaction.
序列图可用于描述类或一组相互作用的类的使用,因而描述了交互所需的协议。
In addition, you can produce sequence diagrams, collaboration diagrams, and class diagrams from use cases.
另外,你可以从用例中产生序列图,协作图和类图。
As we move from the sequence diagram to the class diagram, our system analysis becomes more refined.
当我们从序列图转到类图时,我们的系统分析就更精细了。
These are documented in the model with sequence diagrams and class diagrams, which would include the specification of a reservation entity and a controller class (for entity management).
在模型中使用包含保留实体的详尽规格和控制器类(用于实体管理)的程序表和类表把它们纪录成文档。
For example, a system designer is interested in the logical and physical aspects of a system, so the most useful forms are class and sequence diagrams rather than use-case and activity diagrams.
例如,系统设计人员对系统的逻辑和物理方面感兴趣,因此最有用的形式就是类和序列关系图,而不是用例和活动关系图。
Much like the class diagram, developers typically think sequence diagrams were meant exclusively for them.
很象类图,开发者一般认为序列图只对他们有意义。
If any detail of a generated bytecode instruction sequence is wrong, the class containing that bytecode will fail verification when you attempt to load it into a JVM.
如果生成的字节码指令序列的任何细节有误,那么把包含这个字节码的类装入jvm时,检验就会失败。
This type actually defines the signature of a constructor for the specified class and a matching sequence of values.
该类型实际定义了指定用于类和值的匹配序列的构造器的签名。
They learn just enough Unified Modeling Language (UML) to make reasonable class or sequence diagrams that communicate their system's structure.
他们刚好掌握了足够的统一建模语言(uml)来合理的绘制类图或者顺序图从而传达他们的系统的结构。
The required additional information needs to be located in the descriptions of classes and constraints, class diagrams, and sequence diagrams.
所需的额外信息需要在类和约束、类图和顺序图的描述中确定。
Finally, sequence and class diagrams, or similar deliverables, make up the third workshop recommendation.
最后,序列和类图,或者类似的交付产品,从而构成了第三个工作空间的建议。
Examples are use cases, use case models, business rules, classes, class diagrams, sequence diagrams, the data model, and supplementary specifications.
例子是用例、用例模型、业务规则、类、类图、序列图、数据模型和补充规约。
In order to achieve optimum results at this level of detail, the Function Verification Test team can benefit from some of the more detailed UML diagrams, such as the class and sequence diagrams.
为了在这个粒度达到最佳的结果,功能验证测试团队可以从一些更详细的uml图中获取利益,比如类和序列图。
The Unified Modeling Language (UML) is well-known by all software architects, developers, and testers. It is used for documenting use cases, class diagrams, sequence diagrams, and the other diagrams.
软件结构师、开发人员及测试人员都熟知统一建模语言(uml),该语言适用于文档化用例、类图、序列图和其他图表。
You can visualize existing code artifacts as UML diagrams, including class, sequence, topic, and browse diagrams (see Figure 2).
您可以将现有的代码可视化为uml图,包括类图、序列图、主题图,和浏览图(参见图2)。
A generic sequence diagram contains only a class name in each box along the horizontal axis, as seen in Figure 1.
常规序列图在水平轴方向上的每个框中只包含一个类名,如图1所示。
Our refinement leads to the detailed class and sequence diagrams in Figures 3 and 4 respectively.
经过改进,我们分别得出了如下面的图3和图4所示的详细类图表和序列图表。
It consists of class and sequence diagrams that describe the logical implementation of the functional requirements that you identified in the use case model.
它包括了描述用例模型中所确定的功能需求的逻辑实现的类和序列图。
A simple practical solution to this problem is to add a sequence number to our buffer class, and process the data in the buffer if the buffer sequence number is in order.
这个问题的一个实际解决办法是,为我们的内存类增加顺序号,并按照顺序号处理内存。
Class, sequence, and database schema diagrams use visual tools similar to Rational Software Modeler.
类图、序列图和数据库方案图使用类似于Rational Soft ware Modeler的可视化工具。
MaintainJ generates sequence and class diagrams for a single use case.
MaintainJ会为单一的用例生成序列图和类图。
Figure 4: a static method Sequence diagram for a method in a Swing class.
图4:swing类中的方法的静态方法时序图。
Given that everything in Python is an object, you can use the underlying STR class methods to gain additional power or use the string's sequence functionality directly.
假设python中的每个事物都是一个对象,您可以使用底层的str类方法来获得附加功能或直接使用字符串的序列功能。
Instead of manually drawing the sequence and class diagrams, they successfully used MaintainJ to generate the diagrams.
他们并没有手动绘制序列图和类图,而是成功地使用MaintainJ生成了这些图。
应用推荐