可以使用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.
如果内部类表达式出现在某个实例上下文中的话,内部类可以引用可变的实例域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.
对于姓名、地址和产品描述等文本数据,查看可变的数据格式是识别包含多个域的字段的关键。
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.
但在那之后,我意识到了,如果域是不可变的话,则无需担心它们被暴露出来。
But then I realized that you don't need to worry about exposing fields if they are immutable.
本文从制约操作项与可变项关系的作用域原则角度探讨了语法系统中的句子逻辑式。
This paper discusses the role of the logical form in the grammar in terms of the scope principle due to the operator_variable relationship.
本文从制约操作项与可变项关系的作用域原则角度探讨了语法系统中的句子逻辑式。
This paper discusses the role of the logical form in the grammar in terms of the scope principle due to the operator_variable relationship.
应用推荐