排序函数比较两个项返回三个值中的一个。
A collation function compares two items and returns one of three values.
进而,引入一种新的模糊数排序函数。
根据模型面的属性集定义排序函数,将属性邻接图的顶点按照一定的序列排列。
Permutation function was defined to put the vertexes in AAG in certain order according to attributes of vertexes.
需要一种自定义排序函数,它认为The Beatles应该出现在Eminem之前。
You need a custom collation function that says The Beatles should appear before Eminem.
XSLT 2.0允许从样式表直接调用这些类,因而可以方便地为各种语言或其他需求添加自定义的排序函数。
The ability to invoke these classes from an XSLT 2.0 stylesheet makes it easy to add custom sorting functions for different languages or other requirements.
在一开始,决策制定者就拥有一种“效用函数”或“偏好排序”把所有结果集合从最喜欢的到最不喜欢的排列起来。
At the outset, the decision-maker has a "utility function" or a "preference ordering" that ranks all sets of consequences from the most preferred to the least preferred.
这些功能包括排序、分组、聚集以及一个操作不同数据类型的大型函数集。
These capabilities include sorting, grouping, aggregating, and a large set of functions to manipulate the different data types.
注意,如果多个计数函数或测试在同一列上运行,那么排序与计数操作仅需做一次。
Note that if several counting functions or tests operate on the same column, then the sort and count operations only need to be done once.
它对存储局部变量的位置进行重新排序,并复制函数参数中的指针,以便它们也在任何数组之前。
It reorders where local variables are stored, and copies Pointers in function arguments, so that they're also before any arrays.
如果作为时间、时期或者其他有序类型排序,使用类型转换函数。
To have them sorted as times, durations, and other types that have order, use a casting function.
该函数带有两个参数——第一个参数是要排序的HTML选择列表,第二个参数是比较函数。
This function takes two parameters — the first is the HTML select list to sort, and the second is the comparison function.
xmlagg函数使用ORDERBY子句对组内元素进行排序。
XMLAGG functions use the ORDER BY clause to sort the elements within the group.
每次使用函数或者测试时,必须依照所计数列对数据集进行排序。
Each time you use such a function or test, the data set must be sorted by the counted column before the occurrences of the values can be counted.
然后,这一部分中的最后一个for 循环将在这个准 RSS列表上进行迭代,对项进行排序,并使用 rss-row()函数对信息进行格式化。
Then the last for loop in that section iterates over that quasi-RSS list, sorts the items, and uses the rss-row() function to the format the information.
我们看一下NLJOIN(8),它表示整个函数,从中可以看到一个按三种方法排序的连接。
Looking at NLJOIN (8), which represents the entire function you see a three way ordered join.
比如,compare方法比较两个字符串;sort和asort方法以与相应的php数组函数相同的方式对数组或关联数组进行排序。
For example, the compare method compares two strings; the sort and asort methods sort arrays or associative arrays in a way similar to the corresponding PHP array functions.
在构建表格行之前,以上代码使用array _ multisort函数根据每个规则的起始端口号对规则数组排序。
Before building the rows of the table, the code USES the array_multisort function to sort the array of rules by the starting port number of each rule.
lists模块中提供了许多用于操作列表的函数。例如,可以使用sort函数对列表中的数据项进行排序。
A number of functions for manipulating lists are provided in the lists module for example, you can sort the items in a list using the sort function.
如果要作为数字排序,使用number或者类型转换函数。
To have them sorted as Numbers, use number or a casting function.
所幸的是,intl库提供了collator类(以及名字以collator _开头的影子函数),可用来根据特定的locale对比和排序字符串。
Luckily, the intl library provides the collator class (and shadow functions with names starting with collator_), which you can use to compare and sort strings with respect to your selected locale.
ANSIStandard Rexx不包括任何排序例程、函数或关键字。
ANSI Standard Rexx doesn't include a sort routine, function, or keyword.
XSLT 2.0有很多函数和元素允许指定排序。
XSLT 2.0 has a number of functions and elements that allow you to specify a collation.
也可将排序的节点复制到结果树片断中,但这样就不得不使用node- set扩展函数。
You might copy the nodes in sorted order into a result tree fragment, but then your stylesheet must rely on the node-set extension function.
用于对数组进行排序的函数是compareFunction,该函数是作为参数传递给 sort 函数的。
The function used to sort the array is the compareFunction that was passed into the function when it was called.
大块的结果集可以进行外部排序,reduce()任务遍历整个排序的数据,把每个唯一的键和分类的结果传递到用户的reduce() 函数子进行处理。
Very large results may be externally sorted. The task iterates over the sorted data and passes each unique key and collated results to the users’s reduce() functor for processing.
调用应用程序提供的算法:C运行时库函数qsort 排序对象数组,但你必须提供比较函数。
To Invoke an Application-Supplied Algorithm The C runtime library function qsort sorts an array of objects, but you must supply the function that compares objects.
为了实现模块化和介绍函数的概念,排序例程本身实现为一个单独的过程,数组输出例程也是这样。
For modularity and to introduce the concept of functions, the sort routine itself is implemented as a separate procedure along with the array print routine.
该函数根据单元格中的文本将列单元格排序(排序不包含标记)。
The function sorts the column cells based on the text in the cells (mark up is excluded from the sorting).
如果在上一条命令中为sort函数提供参数{code:1},它将会以升序对结果排序。
If you supplied the argument {code: 1} to the sort function in the previous command, it would sort the results in ascending order.
如果未在map函数中添加限制(像我在清单5中做的那样),则emit的基本作用是对传入文档进行排序。
If you don't put a restriction in your map function (as I did in Listing 5), then the emit will essentially sort the passed-in documents.
应用推荐