我们会在下面的“可见性规则”章节讨论不同的可见性规则和控制它们的关键字。
We'll discuss the various visibility rules and the keywords that control them in the section called "visibility rules" below.
您可以看到,字段可见性的规则和标记都与成员函数可见性的规则和标记一致。后者在上周讨论过。
As you can see, the rules and notations for field visibility are consistent with those for member function visibility, as discussed last week.
可见性:通过使用依赖关系管理,将在构建时而不是运行时解决可见性问题。
Visibility: Using dependency management, visibility is addressed at build time, but not at run time.
为了在类图上的显示可见性,放置可见性标志于属性或操作的名字之前。
To display visibility on the class diagram, you place the visibility mark in front of the attribute's or operation's name.
UML规范并不要求属性及操作可见性必须显示在类图上,但是它要求为每个属性及操作定义可见性。
The UML specification does not require attributes and operations visibility to be displayed on the class diagram, but it does require that it be defined for each attribute or operation.
换句话说,这意味着老的内存模型只保证正在读或写的变量的可见性,不保证写入其他变量的可见性。
In other words, this means that the old memory model made promises only about the visibility of the variable being read or written, and no promises about the visibility of writes to other variables.
第一个是可见性标记(visibility marker),可以将字段、方法和类标记为公共的、受保护的、私有的或默认的可见性。
The first is a visibility marker that marks fields, methods, and classes for either public, protected, public, or default visibility.
我们会在《第5章-Scala基础面向对象编程》的“可见性规则”章节来探索可见性规则。
We'll explore the visibility rules in the section called "visibility rules" in Chapter 5, Basic Object-Oriented Programming in Scala.
可见性:osgi采用两种方式确保可见性。
增强功能可见性。功能可见性是对象的一种属性,指示对象是如何被使用(对照使用标签解释它)。
Improve affordance. Affordance is a property of an object that suggests how the object is used (as opposed to using a label to explain it).
对派生类方法的可见性修饰符进行修改,使其与基类方法的可见性相匹配。
Change the visibility modifier of the derived-class method to match the visibility of the base class method.
对派生类方法的可见性修饰符进行修改,使其与基类方法的可见性相匹配。
Change the visibility modifier of the derived-class method to match the visibility of the base class method.
应用推荐