单凭直觉,它(译注:指严格弱序化)意味着按序存放元素,就像使用<比较符将整数排序一样。
Intuitively, my child, it simply means putting the elements in order, just as the < comparison can be used to sort integers in order.
如果比较的一个操作数包含多个值,新的值比较运算符将报告错误,因此使用这些运算符可以迅速有效地检测错误。
The new value comparison operators will report an error if either operand in the comparison contains more than one value, so using them expedites detection of the error.
然而,所有逻辑和比较运算符都全部返回值1,表示真。
However, all the logical and comparison operators consistently return the value 1 for true.
逻辑运算符的优先级低于单独的比较运算符,这一点意义重大,因为必须先计算比较运算符,然后才能计算逻辑运算符。
The logical operators have lower precedence than the individual comparison operators, which makes sense because the comparison has to be evaluated before the logical operator can be evaluated.
到目前为止,要想使用定制的比较函数,标准的做法是定义自己的函数对象,然后适当地定义操作符。
So far, to use custom comparison functions, the standard practice has been to define your own function object and then define the operator appropriately.
不等值比较运算符可用于任何有序的数据类型,比如和时间有关的类型。
You can use value comparison operators for inequality with any type of data that has an order, such as the time-oriented types.
还应注意,xsl:if中的“小于”和“大于或等于”比较操作符也需要转义,以遵从xml规则。
Note also that the comparison operators for "less than" and "greater or equal to" inside the XSL: if statement are also escaped to comply with XML rules.
这个例子还用到了新的值比较运算符详见下一节和嵌套在ForExpr中的IfExpr。
This example also shows the new value comparison operators (see the next section for more details), and an IfExpr nested within a ForExpr.
Spark与标准的基于 EBNF的工具相比缺点在于,它比较冗长,而且缺少直接的出现计量符(即表示存在的“+”,表示可能性的“*”和表示有限制性的“?”)
The disadvantage of Spark compared to a standard EBNF-based tool is that it is more verbose and that it lacks direct occurrence quantifiers (i.e., existential "+", possible "*", limited "?").
请注意,codepoints-to-string的例子还用到了两个新的XPath值比较运算符:lt(小于)和gt(大于)。
Notice that the codepoints-to-string example also uses two of the new XPath value comparison operators: lt (less than) and gt (greater than).
这里的eq和ne都是值比较运算符。
这个大于的操作符的时候,是到类的定义里去识别,大于是一个比较的方法,那么让我在这里说仔细一点吧。
When I try and evaluate that expression of greater than, is going to go into the class to say greater than is a comp method.
那么在部署描述符中什么元素比较好呢?
So what elements would be better off in deployment descriptors?
上面规则的使用都比较可疑,因为他们都可以通过不使用任何替换操作符来重写.
The use of the above rules is questionable, as they all could be rewritten without using any substitution operators.
关联谓词通常将事件中的某个键值(例如唯一旅行标识符)与包含相同键的度量作比较。
Correlation predicates typically compare some key value in the event, such as a unique trip identifier, with a metric containing the same key.
如果您来自比较传统的数据库背景,可能会把它们看作资源标识符、属性名称和属性值。
If you're from a more traditional database background, you can think of them as a resource identifier, an attribute name, and an attribute value.
与前一组测试操作符一样,比较测试操作符是执行错误检查或根据另一个值测试值的简便方法。
Like the previous set of test operators, comparison test operators are a handy way to perform error checking or to test values against another value.
这些运算符的工作原理是从左到右地比较两个参与元组的每个单独的元素(请参见清单6)。
The operators work by comparing each individual element of the two participating tuples from left to right (see Listing 6).
到目前为止我们已经看到了查找 EJB 本机接口的方法,这些方法有的不是很好,有的稍好一些,但是都需要手动编码,其中比较好的解决方法也需要对 EJB 部署描述符进行修改,以增加 EJB 引用。
So far we have seen methods for doing the lookup of the home interface of an EJB. Some of these methods were not very good and others were a bit better, but all required a good bit of hand coding.
另一组测试操作符称为比较测试操作符。
Another set of test operators is called comparison test operators.
前面的技术可以为任何用户提供的字符串生成惟一的标识符;但是,在每次需要ewu值时都执行这一系列命令比较麻烦。
The previous technique will generate a unique identifier for any user-supplied character string; however, it is somewhat cumbersome to issue this list of commands every time an EWU value is needed.
这与把丑陋的字符串、类型和绑定的标志符传递给五花八门的反射API比较起来,要感觉舒服得多。
This would be a more pleasant syntax than passing ugly strings and types and binding flags to various Reflection APIs to get that information.
可以按照与其他操作符相同的格式使用比较测试操作符。
You use the same format on comparison test operators as other operators.
比较图4和图5中的访问计划,会发现对于EISCAN操作符,查询使用了一个扩展索引。
Comparing the access plans in Figure 4 and Figure 5 shows again with the EISCAN operator that an extended index is used by the query.
PRIOR运算符可放在比较运算符的左边或右边。
The PRIOR operator can be located left or right of the comparative operator.
在1.5.2的黄金时代,无论比较什么对象,不等操作符总会返回一个结果。
Back in that golden age of 1.5.2, you knew the inequality operators would return a result regardless of which objects were compared.
如果您愿意,通过选择合适的Options可以使运算符无效并进行区分大小写的比较。
You can negate operators and perform case-sensitive comparisons if desired by selecting the appropriate boxes under Options.
为了能够进行直观的比较,Hello.Jonas.ear应用程序内包括的部署描述符如下所示
The deployment descriptors included within the Hello.Jonas.ear application are shown below to enable a visual comparison
Shell并没有提供大量的算术操作符,但是已经足以完成大多数编程任务,包括移位、求余和比较。
The shell doesn't have a large collection of arithmetic operators, but it's sufficient for most programming tasks, including bitwise shifts, remainders, and comparisons.
下面最后一个元素中的le运算符就是值比较运算符的一个例子。
The le operator in the last element below is an example of a value comparison operator.
应用推荐