The double-dot operator invokes mutator methods to set values for each of the address attributes.
双点运算符调用了mutator方法来设置每个地址属性的值。
Each attribute in the hash can be accessed or set using the dot operator (as shown in Listing 2).
使用dot操作符可以访问或设置hash中的每个属性(参见清单2)。
To do that, we will invoke the observer method (using the double-dot operator) for the city attribute of the structured type value in the ADDRESS column (Listing 2).
为了实现这个目标,我们将调用observer方法(使用双点运算符)获取address列中的结构化类型值的城市属性。(清单2)。
The dot operator specifies a member of a type or namespace.
点运算符指定类型或命名空间的成员。
The dot operator fetches its right-hand operand from its left.
点操作符通过它的左操作数取得右操作数。
Just enclose the query expression in parentheses, and then apply the dot operator and call the method.
只需将查询表达式括在括号内,然后应用点运算符并调用此方法。
When we use a member function as the right-hand operand of the dot operator, we usually do so to call that function.
通常使用成员函数作为点操作符的右操作数来调用成员函数。
The dot operator applies only to objects of class type: the left-hand operand must be an object of class type; the right-hand operand must name a member of that type.
点操作符仅应用于类类型的对象:左操作数必须是类类型的对象,右操作数必须指定该类型的成员。
Methods are invoked (as in the Java language) with the dot (.) operator.
方法是用点(.)运算符调用的。
To invoke a mutator or observer method on an instance of a structured type, use the double-dot (..) operator (Listings 1, 2, and 3).
为了在结构化类型的实例上调用mutator或observer方法,请使用双点(. .)运算符(清单1、清单2和清单3)。
To invoke a mutator or observer method on an instance of a structured type, use the double-dot (..) operator (Listings 1, 2, and 3).
为了在结构化类型的实例上调用mutator或observer方法,请使用双点(. .)运算符(清单1、清单2和清单3)。
应用推荐