Sequence diagrams can be used to describe the USES of a class or interacting group of classes, thus describing the protocols required for interaction.
序列图可用于描述类或一组相互作用的类的使用,因而描述了交互所需的协议。
MaintainJ generates sequence and class diagrams for a single use case.
MaintainJ会为单一的用例生成序列图和类图。
If the project organization is using UML for modeling, unit testers will need sequence diagrams, class diagrams, and perhaps activity diagrams.
如果这个项目组织利用uml来建模,那么单元测试将需要序列图,类图,可能还会需要活动图。
For completeness the class diagram and sequence diagram are shown below.
作为补充,下面给出了类关系图和序列关系图。
Nature of the problems with class and sequence diagrams.
类及序列图问题的实质。
Sequence diagrams and class diagrams are UML dynamic modeling and static modeling.
顺序图和类图是UML的动态建模和静态建模。
As we move from the sequence diagram to the class diagram, our system analysis becomes more refined.
当我们从序列图转到类图时,我们的系统分析就更精细了。
Our refinement leads to the detailed class and sequence diagrams in Figures 3 and 4 respectively.
经过改进,我们分别得出了如下面的图3和图4所示的详细类图表和序列图表。
New random class for random number sequence.
使用了新的Random类来生成随机数序列。
The sections that follow provide solutions to each problem and demonstrate how to produce meaningful class and sequence diagrams.
接下来的部分为每个问题提供一个解决方案,并论证了怎样产生有意义的类及序列图。
In addition, you can produce sequence diagrams, collaboration diagrams, and class diagrams from use cases.
另外,你可以从用例中产生序列图,协作图和类图。
Thus, the development team responsible for unit testing should make sure that class and sequence diagrams are included as project deliverables.
因此,这个负责单元测试的开发团队应该确保这个类和序列图包含在项目交付产品中。
They learn just enough Unified Modeling Language (UML) to make reasonable class or sequence diagrams that communicate their system's structure.
他们刚好掌握了足够的统一建模语言(uml)来合理的绘制类图或者顺序图从而传达他们的系统的结构。
Examples are use cases, use case models, business rules, classes, class diagrams, sequence diagrams, the data model, and supplementary specifications.
例子是用例、用例模型、业务规则、类、类图、序列图、数据模型和补充规约。
UML models (sequence diagrams, use cases, class diagrams).
uml模型(顺序图、用例、类图)。
It consists of class and sequence diagrams that describe the logical implementation of the functional requirements that you identified in the use case model.
它包括了描述用例模型中所确定的功能需求的逻辑实现的类和序列图。
The required additional information needs to be located in the descriptions of classes and constraints, class diagrams, and sequence diagrams.
所需的额外信息需要在类和约束、类图和顺序图的描述中确定。
The activity diagram, use case diagram, sequence diagram, collaboration diagram and the class diagram are used for building the analysis and design model of the sedimentary facies modeling system.
系统中采用了活动图、 用例图、顺序图、交互图和类图建立沉积相建模系统的分析和设计模型。
This expression is then retained by the Pattern class before it is passed on to the Matcher class to check for matches in the context of a character sequence.
Pattern先保存要使用的表达式,然后将其传递给Matcher 类以便在字符序列的上下文中检查其匹配情况。
A generic sequence diagram contains only a class name in each box along the horizontal axis, as seen in Figure 1.
常规序列图在水平轴方向上的每个框中只包含一个类名,如图1所示。
The sequence here shows that the Greeter class is only loaded when an instance of the class is about to be created.
这里的顺序显示了只有在准备创建greeter类的实例时才会装入该类。
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时,检验就会失败。
As we move from use case diagrams into sequence and class diagrams, we will immediately notice the impact of known actors.
当我们从用例图转入到序列图和类图时,马上就会注意到已知的参与者的影响。
Instead of manually drawing the sequence and class diagrams, they successfully used MaintainJ to generate the diagrams.
他们并没有手动绘制序列图和类图,而是成功地使用MaintainJ生成了这些图。
The team used MaintainJ to generate sequence and class diagrams for all use cases and later used the diagrams to enhance the application.
这个团队使用MaintainJ为所有用例生成了序列图和类图,然后利用这些图来对应用程序进行改善。
If you look closely at the description for the list class in Listing 2, you'll see that two different constructors are provided. One takes no arguments, and the other takes a sequence class.
如果仔细观察清单2中对list类的描述,您会看到其中提供了两个不同的构造函数:一个没有参数,另一个接受一个序列类作为参数。
Java.nio.charset.CharsetEncoder: This class defines an engine that can transform a sequence of sixteen-bit Unicode characters into a sequence of bytes in a specific charset.
CharsetEncoder:这个类定义了一个引擎,这个引擎可以将16位Unicode字符序列转换为采用特定字符集的字节序列。
Figure 4 shows a static method Sequence diagram for a method in a Swing class, and you can see all of the other methods that this method calls on the same class and other classes.
图4展示了对于swing类中的方法的静态方法时序图,您可以看到该方法所调用的同一个类和其他类中的其他方法。
CLR Profiler can also show allocation views by class type or over time, identify the number of bytes allocated by each method, and display the sequence of methods executed over the life of the test.
CLR分析器还可以按类类型或者随着时间的流逝显示分配视图,标识每个方法所分配的字节数量,并且显示在整个测试周期中执行的方法序列。
CLR Profiler can also show allocation views by class type or over time, identify the number of bytes allocated by each method, and display the sequence of methods executed over the life of the test.
CLR分析器还可以按类类型或者随着时间的流逝显示分配视图,标识每个方法所分配的字节数量,并且显示在整个测试周期中执行的方法序列。
应用推荐