下面一节中列出了执行选择的标准查询运算符方法。
The standard query operator methods that perform selection are listed in the following section.
下面一节中列出了分区序列的标准查询运算符方法。
The standard query operator methods that partition sequences are listed in the following section.
以下部分列出了执行聚合运算的标准查询运算符方法。
The standard query operator methods that perform aggregation operations are listed in the following section.
以下部分列出了执行限定符运算的标准查询运算符方法。
The standard query operator methods that perform quantifier operations are listed in the following section.
第一,通过将其他字符串添加在一起,可以创建新的字符串,具体方法可以使用+运算符,或者干脆使用适当的引号将字符串连在一起。
First, you can create a new string by adding other strings together, either using the + operator or by just sticking strings together using the appropriate quotes.
由于Scala的语法非常灵活,所以您可以像调用一个运算符一样调用filter方法。
Thanks to Scala's syntactic flexibility, you can call the filter method the same way you call an operator.
第一个约定是在方法调用中使用 Ruby的圆括号(可选);第二个约定就是使用半专有的方法命名,其中使用了在其他语言中作为运算符的符号。
The first element of this is Ruby's optional parentheses in method calls; the second part is its use of semi-special naming of methods with symbols that are operators in most languages.
为了在结构化类型的实例上调用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).
表达式可以简单到就是一个变量(如清单2 所示)或者是一个方法调用(例如getList()),亦或是包含布尔逻辑或三目运算符的复杂表达式。
This expression can be as simple as a variable (as shown in Listing 2) or a method call (like getList()), or a complex expression that involves boolean logic or a ternary operator.
双点运算符调用了mutator方法来设置每个地址属性的值。
The double-dot operator invokes mutator methods to set values for each of the address attributes.
为了实现这个目标,我们将调用observer方法(使用双点运算符)获取address列中的结构化类型值的城市属性。(清单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).
方法是用点(.)运算符调用的。
Methods are invoked (as in the Java language) with the dot (.) operator.
最后一种方法是使用 ::运算符
另外一个方法就是用格式运算符,也就是百分号%。在用于整数的时候,百分号%是取余数的运算符。但当第一个运算对象是字符串的时候,百分号%就成了格式运算符了。
An alternative is to use the format operator, %. When applied to integers, % is the modulus operator. But when the first operand is a string, % is the format operator.
只需将查询表达式括在括号内,然后应用点运算符并调用此方法。
Just enclose the query expression in parentheses, and then apply the dot operator and call the method.
datetime模块提供了一些time对象,和本章的time对象很相似,但前者提供了更多的方法和运算符。
The datetime module provides time objects that are similar to the time objects in this chapter, but they provide a rich set of methods and operators.
在使用列表的方法和运算符之前,你应该好好读一下文档,然后在交互模式里面对它们进行一下测试。
Before using list methods and operators, you should read the documentation carefully and then test them in interactive mode.
公开一种在计算机上产生模拟多孔介质中流体流动的有限元模拟程序的本机运算符和测试代码文件的改进方法和系统。
An improved method and system are disclosed for creating on a computer a native operators and test code file for a finite element simulator to model fluid flow in porous media.
若要在自定义类中重载运算符,您需要在该类中创建具有正确签名的方法。
To overload an operator on a custom class requires creating a method on the class with the correct signature.
另外一个方法就是使用求模运算符了,百分号%就是了,求模运算就是求余数,会把两个数相除然后返回余数。
An alternative is to use the modulus operator, %, which divides two Numbers and returns the remainder.
程序量是一种以代码中运算符和操作数为基础的度量方法,表示理解某个类型或方法的难易程度。
Program volume is a measure of the difficulty of understanding of a type or method that is based on the number of operators and operands in the code.
转换的定义方法类似于运算符,并根据它们所转换到的类型命名。
Conversions are defined like operators and are named for the type to which they convert.
转换的定义方法类似于运算符,并根据它们所转换到的类型命名。
Conversions are defined like operators and are named for the type to which they convert.
应用推荐