In this example, updating the value of simple attributes, the performance impact would not be significant.
该例中仅仅更新简单的属性值,对性能的影响不是很明显。
To avoid this problem, complex attributes should be initialized in the constructor; however, this is not necessary for simple attributes such as strings, booleans, and so on.
为了避免这个问题,应当在构造函数中初始化复杂属性;然而,对于字符串、布尔值等简单属性则不需要这样做。
Simple metrics, such as amount of money being spent or number of defects currently outstanding, have two key attributes.
简单的度量标准,例如所花的钱数或者当前未解决的缺陷数,有两个关键的属性。
Prefer attributes for simple types to relationships; otherwise, you will clutter your diagrams.
对于简单的关系类型使用属性;否则,你将会使你的图混乱。
I'll discuss the tag more later in this article, but it's enough to understand now that a simple tag with no attributes encompasses every state, which is what you need here.
在本文的后面部分,我将更详细地讨论标签,但现在只需知道,一个简单的、不带属性的标签可以包含任何状态,这个标签正是您在这里所需要的。
To reduce the level of ambiguity in requirement specifications and documents, we used a simple checklist of "good specification attributes" and "problem words to watch out for" (see Appendix A).
为了减少含糊不清的需求规格和文档,我们使用一个简单的检查单“好的规格属性”和“谨防有问题的词语”(参见附录 A)。
Beyond a few simple rules, you have flexibility in designing your XML elements and attributes.
除了一些简单的规则之外,您可以随意设计xml元素和属性。
Now that you have seen the business object definitions, you might ask about simple types and how attributes are modeled.
您现在已经了解了业务对象定义,可能会想了解有关简单类型以及如何建模属性的信息。
Using just these attributes, you can construct a simple program that animates changes to the width of a view, as in Listing 4.
通过使用这些属性,可以构造一个简单的程序,该程序以动画效果改变一个视图的宽度,如清单4所示。
By default, formatting white space is discarded and simple elements and attributes do not have child nodes.
缺省情况下,用于格式设置的空白被丢弃,简单元素和属性没有子节点。
This completes the attributes and simple type definition, as shown in the fragments presented in Listing 3.
这样属性和简单类型定义就完成了,如列表3中的片段所示。
Use the commands as shown below for simple lookups based on their name attributes.
使用如下所示的命令来根据姓名属性进行简单查找。
An assertion can be a simple string or can be a complex object with many sub elements and attributes.
断言可以是一个简单的字符串或带多个子元素和属性的复杂对象。
You can see here how simple it is to create elements, set attributes, and add element content using JDOM.
在这里可以看到用JDOM创建元素、使用属性和添加元素内容有多么简单。
The date, however, isn't that simple — it really is three attributes of a date.
然而,日期并不简单 —它实际上是一个日期的三个属性。
Listing 12 shows its use with simple XML-like language to define the ranges of text with attributes.
清单12使用简单的类似XML的语言展示了它的用法,以定义具有这些属性的文本的范围。
Attributes are designed for expressing simple properties of the information represented in an element.
属性用于表示元素所表达信息的简单性质。
Providing simple measurements of network connection attributes with minimal resource consumption is ideal for this article.
对于本文来说,最理想的目的是通过最小的资源损耗对网络连接属性进行简单测试。
The order is represented by a business object that contains a number of simple type attributes and an array of order line items as shown in Figure 3.
订单由包含许多简单类型属性和一个订单行式项目数组的业务对象表示,如图 3 所示。
The first part allows one to constrain the structure of the document, and the second part allows one to constrain the contents of simple elements and attributes.
第一部分用于约束文档的结构,第二部分则用于约束简单元素和属性的内容。
Building your template is as simple as selecting the plugins you care about and then selecting the attributes that pertain to the application that you want to verify.
构建模板很简单,只需选择感兴趣的插件,然后选择与想要验证的应用程序相关的属性。
To keep the issues simple, I have not modeled all of the attributes of the classes; nor have I modeled their full signatures or any of the methods of the classes.
为简化问题,我没有为类的所有属性都建模;也没有为其完整签名或任何类方法建模。
We are performing a simple validation and setting the attributes user and role to show them when we will open the next JSP.
我们正在执行一个简单的验证,并对user和role属性进行设置,以在打开下一个jsp时显示它们。
Many Rails model objects are simple because the attributes are all added dynamically with metaprogramming.
许多Rails模型对象之所以简单,是因为属性都是用元编程动态添加的。
This simple agent exposes the attributes and operations of all the MBeans it manages through the HTTP protocol adapter.
这个简单的代理通过HTTP协议适配器公开它管理的所有MBean的属性和操作。
These attributes could be simple types (String, Integer, Boolean, and so on) or could be business items from the same or a different data catalog.
这些属性可能是简单类型(String、Integer、Boolean等等),也可能是同一或不同数据目录中的业务项目。
A simple example is shown in Listing 1, declaring a hash consisting of 6 attributes: a string, an integer, a Boolean, an undefined attribute, another hash, and a function.
清单1显示了一个简单的例子,它声明了一个包含6个属性的hash:一个字符串、一个整数、一个布尔值、一个未定义的属性、另一个hash和一个函数。
In this article, I use a relatively simple exercise — adding notification events to Spring-based application methods and attributes — to help you get comfortable with customizing Spring JMX.
在本文中,我使用了一种相对简单的操作——为基于Spring的应用程序的方法和属性增加通知事件——以帮助您熟悉对SpringJMX的定制。
These attributes could be simple types (for example, String, Integer, and Boolean) or could be business items from the same or a different data catalog.
这些属性可以是简单类型(例如,String, Integer和Boolean)或者是来自相同或不同的数据目录中的业务条目。
Note that this is a very simple configuration: the actual attributes that libvirt supports are much more diverse.
注意,这只是个简单的配置,libvirt真正支持的属性更加多样化。
应用推荐