Experiment results show that the design patterns, which integrated by the value-object and iterator, effectively improve the performance of network data transmission.
实验结果表明两种设计模式相结合能有效提高网络数据传输性能。
Value bindings are created with the Application object.
值绑定是用Application对象创建的。
In this example, the returned value was converted from Object to String, since we knew its type ahead of time.
在这个示例中,由于我们提前知道了返回值的类型,因此我们把它从object转化成了String。
The method must return the deserialized value object.
该方法必须返回反序列化的值对象。
The key uniquely identifies the required value object.
密钥唯一地标识所需的值对象。
Development of applications based J2EE is always accompanied by accessing and transferring vast data. Value object encapsulates data to resolve these problems.
基于J2EE的应用程序开发总伴随着大量数据存取、转换等问题,值对象用于封装数据以解决该类问题。
The key uniquely identifies the value object required.
密钥唯一地标识所需的值对象。
The value object in Listing 2 looks almost identical to our remote interface, but it's actually a concrete class.
清单2中的值对象看起来和我们的远程接口几乎相同,但它实际上是具体类。
For each value object, the values are stored in the inner vector.
对于每一个值对象,将其值存储到内部vector中。
The response template contains a type safe subset of the value object information graph requested by the user in the request template.
响应模板中包含类型安全的值对象信息图子集,这些信息是用户在请求模板中请求的。
An immutable "variable" is declared with the keyword val (think value object).
一个不变的“变量”可以用val关键字来声明(想象一个值对象)。
See listing 5 for an example of one of the interface methods for listing phonebook entries and returning their value object representations.
参见清单5,它是其中一个接口方法的示例,列出电话簿条目并返回它们的值对象表示。
Otherwise, the value object is a carbon copy of the bean's remote interface.
否则,值对象就成为 bean的远程接口的翻版了。
The value object contains a snapshot of the data in the database, but it won't dynamically reflect changes to that data.
虽然值对象包含数据库中数据的快照,但它不能动态地反映数据的更改。
The AccountInfo value object needs to have an additional field and accessor method for accountHolderName.
AccountInfo值对象需要有一个附加的字段和 accountHolderName 的访问器方法。
Note that the value object is typically indicated by the bean's name followed by Info.
通常用bean的名称加上Info来表示值对象。
Update the Person value object in raj.vo.Person, by adding another field and the corresponding getter/setter.
更新raj.vo.Person中的Person值对象,添加另一个字段以及相应的getter/setter。
For example, a user is a mutable entity, but you might use an immutable value object to represent the user's address, just changing the address that you point to for the user if he or she moves.
例如,虽然用户是可变实体,但是您可以使用不可变值对象来表示用户的地址,如果用户移动了位置,那么只需为该用户更改您所指向的地址。
Next, modify a value of the object.
接下来,编辑该对象的值。
If the return value is an object, the default is null.
如果返回值是一个对象,默认为空值。
The majority of the Amazon storage patterns were based on primary key access leading to single value or object.
亚马逊的大多数存储模式都建基于通过主键访问某个值或对象。
This method computes a hash value for each object.
该方法计算每个对象的hash值。
Get the target form field value from the JSON object.
从JSON对象获得目标表单字段值。
If a process has seen a particular value for the object, any subsequent accesses will never return any previous values.
如果进程已经看到过数据对象的某个值,那么任何后续访问都不会返回在那个值之前的值。
The business delegate component invokes the service and wraps any return value as a model object.
业务委派组件调用该服务,并将任何返回值打包为模型对象。
A node object has a value that is an element in the pattern.
一个节点对象有一个值,它是图案中的一个元素。
When the net has visited each pattern, it sets the value of a weight object to this sum.
当网络访问过每一个图案后,它将一个权重对象的值设置为这个和。
It contains a property named Inactive, whose value is yet another object.
它包含另一个属性Inactive,其值也是另一个对象。
Store this value in an intermediate result object named "manager".
在一个名为“manager”的中间结果对象中存储此值。
You can examine the class methods included in the code download for this article to find out more about how each result object value is computed (see Resources).
您可以研究本文的代码下载中包含的类方法,以了解关于如何计算每个结果对象值的更多信息(请参阅参考资料)。
应用推荐