Listing 5: Sorting code to enter for this example.
列表5:使排序代码参与这个例子。
Now, in the file where the sorting code will be, you?
现在,在该文件中的排序代码将被,你呢?
If your only objective is to show the table, then you're done, because the rest of the code handles sorting.
如果您的目标只是显示表格,那就可以了,因为余下的代码可以完成分类。
With the improvements in ASP.NET 2.0, this code can be significantly reduced to produce a data-filled grid with full paging, sorting, and editing features.
通过ASP.NET 2.0中的改进功能,可以显著减少这些代码的数量,以产生带有完整分页、排序和编辑功能并填充了数据的网格。
As mentioned, the code for sorting by title and sorting by artist is nearly the same.
正如前面介绍的一样,对标题进行排序和对艺术家进行排序的代码几乎是相同的。
I'm going to use reflection to create a generic sorting infrastructure that doesn't have so much duplicated, boilerplate code.
我准备使用反射(reflection)来创建一种通用的排序基础设施,其中不会涉及大量复制的样板代码。
In this code, the z-order sorting is done outside the library.
在这段代码中,z值排序是在这个库之外实现的。
To enable sorting of the columns, you must add the following code to the main method before calling the Shell.open method.
要对列启用排序功能,您必须在调用Shell . open方法前向main方法中添加以下代码。
The template uses a Template Toolkit FOR loop to iterate over the images, unsorted (if you need sorting, it's better to have the Perl code do it outside the Template Toolkit environment).
模板使用了TemplateToolkitFOR 循环来遍历(未分类的)照片(如果需要进行分类,最好在 Template Toolkit 环境之外使用 Perl代码完成这个操作)。
This essentially means that if the "OrderBy" parameter has a value of "1", this sorting column will be populated with the content of the first column, "Retailer type code".
这个表达式意味着,如果“OrderBy”参数的值是“1”,就用第一列“Retailertypecode”的内容填充这个排序列。
Sorting technologies in postal services, including optical character recognition (OCR), video complement and address check via bar code have reached the world's top level.
邮政光学字符识别(OCR)、视频补码、码址校验等分拣技术处于世界领先水平。
A novel algorithm is proposed for the sorting and code identification of mixed laser-guided signals based on the analysis of the characteristics for encoding laser-guided signals.
针对目前研究较少的混合激光制导信号批次分选和码型识别问题,在分析激光制导信号编码特点的基础上,提出一种新的分选与解码算法。
In application code, sorting operations tend to be used less frequently than equality comparisons and therefore are less likely to create problems.
在应用程序代码中,排序操作的使用频率低于相等性比较,因此排序操作产生问题的可能性较小。
Furthermore under the analysis of such mathematic model of the sorting route optimum problem, that function is resolved by the application of the mix genetic arithmetic based on character code.
建立了拣选路径的数学模型,明确定义了其目标函数以及约束条件,通过对拣选路径优化问题的数学模型的分析,采用基于字符编码的混合遗传算法来求解。
And it emphasizes the executive scheme of the file library's structure, the index arrangement, the data sorting and protecting, the code making and the file library's modification.
并着重对该系统文件库的结构、索引的安排、码的编制,数据的检索和保护及文件库的修改等实施方案进行了论述。
Packaging, classification, sorting, mark code scanning, splitting and simple joining, etc.
仓内完成包装、分级分类、加刷唛码、分拆、拼装等简单加工。
In some ways you could call this a decision-tree (it does have multiple tiers of sorting), but the overall code is a lot more brief and (when properly formatted with tabs, etc) easier to read.
一定程度上,你可以把上述代码叫作决策树(它确实有很多分支),但总体说来,代码更加简洁(如果能恰当地使用格式化的命名的话)和容易阅读了。
In some ways you could call this a decision-tree (it does have multiple tiers of sorting), but the overall code is a lot more brief and (when properly formatted with tabs, etc) easier to read.
一定程度上,你可以把上述代码叫作决策树(它确实有很多分支),但总体说来,代码更加简洁(如果能恰当地使用格式化的命名的话)和容易阅读了。
应用推荐