可以使用Groovy来构建公共的不可变域版本的address类,这带来的是一种非常清晰的实现,如清单6所示。
Building the public-immutable-field version of the Address class in Groovy yields a nice clean implementation, shown in Listing 6.
域的范围是可变的,可以从单元、集群或节点,到节点组或应用程序服务器。
The scope of the domain is variable and can range from a cell, cluster, or node to a node group or application server.
但在那之后,我意识到了,如果域是不可变的话,则无需担心它们被暴露出来。
But then I realized that you don't need to worry about exposing fields if they are immutable.
对于姓名、地址和产品描述等文本数据,查看可变的数据格式是识别包含多个域的字段的关键。
For text data such as name, address, and product descriptions, a review of the varying data formats is critical to identify fields containing multiple domains.
通过将域声明成公共的或是不可变的,就能够直接在代码中访问它们,无需担心不小心更改它们的情况发生。
By making the fields both public and immutable, you can directly access them in code without worrying about accidentally changing them.
如果内部类表达式出现在某个实例上下文中的话,内部类可以引用可变的实例域instance field,但这不是同一回事。
Inner classes can refer to mutable instance fields if the inner-class expression occurs in an instance context, but this is not the same thing.
此方法有效地解决了在先验概率未知的条件下,如何动态可变且快速地划分模糊域的问题。
The solution of quick a nd dynamic division of fuzzy fields is given out by this method, without the know ledge of priori probability.
本文从制约操作项与可变项关系的作用域原则角度探讨了语法系统中的句子逻辑式。
This paper discusses the role of the logical form in the grammar in terms of the scope principle due to the operator_variable relationship.
变域变分原理,可以结合可变区为功能,这使得它可以同时计算流场的变量域。
Variable-domain variational principles can couple the variable domain into functional, which makes it possible to calculate the flow field with the variable-domain simultaneously.
其次发现运动估计部分由于忽略了图像场景的分级运动而存在一定的无效搜索运算,提出了基于分级运动的可变搜索域法来压缩无效的搜索运算;
Second, in the motion estimation part of the coder, we find that normal search algorithms are not effective, which neglects different levels of motion in image sequences…
其次发现运动估计部分由于忽略了图像场景的分级运动而存在一定的无效搜索运算,提出了基于分级运动的可变搜索域法来压缩无效的搜索运算;
Second, in the motion estimation part of the coder, we find that normal search algorithms are not effective, which neglects different levels of motion in image sequences…
应用推荐