时序图里的Common Operators for Interaction Frames(附加翻译)

Common Operators for Interaction Frames

 

Operator

Meaning

alt

替代多个片段;只有条件为真的才会执行。

 

Alternative multiple fragments; only the one whose condition is true will execute.

opt

可选;只有在提供的条件为真时,片段才会执行。相当于只有一条轨迹的alt。

 

Optional; the fragment executes only if the supplied condition is true. Equivalent to an alt with only one trace.

par

并行;每个片段并行运行。

 

Parallel; each fragment is run in parallel.

loop

循环;该片段可以执行多次,并且守卫指示迭代的基础。

 

Loop; the fragment may execute multiple times, and the guard indicates the basis of iteration.

region

临界区;该片段只能有一个线程同时执行它。

 

Critical region; the fragment can have only one thread executing it at once.

neg

否定,该片段显示一个无效的相互作用。

 

Negative; the fragment shows an invalid interaction.

ref

引用;指在另一个图上定义的交互。车架被拉到盖子上。

参与互动的生命线。您可以定义参数和返回值。

 

Reference; refers to an interaction defined on another diagram. The frame is drawn to cover 

the lifelines involved in the interaction. You can define parameters and a return value.

sd

序列图;如果你愿意的话,可以用于环绕整个序列图。

 

Sequence diagram; used to surround an entire sequence diagram, if you wish.

 

 

guard(关键的决策判断)

转载于:https://my.oschina.net/u/3448620/blog/1538814

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值