排序通过对树项目进行迭代(第37- 39行)来执行。
The sorting is performed by iterating through the tree's items (lines 37 to 39).
for 循环在string列表上进行迭代,一次输出一行。
The for loop iterates over the list of strings, printing them out one at a time.
您无需对结果集进行迭代,因为OGSA-DAI会一同返回所有行。
You don't need to iterate through the results row by row because OGSA-DAI returns all the rows together.
db 2 _ fetch_row用于在返回true的语句资源中进行迭代,直至资源中不再有行。
The db2_fetch_row is used to iterate through the statement resource returning true until there are no more rows in the resource.
除了标题行之外,在EventTable方法中还有一个foreach循环,它将在每个比赛上进行迭代。
In addition to the header line, you have a foreach loop in the EventTable method that iterates through each of the games.
算法很简单,它对树的顶级项目进行迭代,并将其文本内容与搜索字符串进行比较(清单6中的第43- 52行)。
The algorithm is simple; it iterates through the top-level items of the tree and compares their text contents with the search string (lines 43 to 52 in listing 6).
使用函数odbc_result,该函数接受结果集和列名称(字符串形式),并返回行迭代程序所指向的行中的单元值。
Use the function odbc_result , which takes in a result set and a column name (as a string) and returns the cell value within the row that the row iterator points to.
SQLJ应用程序连接到数据源对象为 ds 的数据库,并使用已定位的迭代器ByPos从现有的Employee表中获取行。
This SQLJ application connects to a database with data source object ds and fetches the rows from existing table Employee with positioned iterator ByPos.
此循环迭代这个数组并打印每一行,与它在命令行上所做的无异,只不过在每次打印后均强制使用一个xhtml断行元素。
The loop simply iterates through the array and prints each line as it would do on the command line, but enforcing an XHTML break-line element after each print.
一种做法是在此树构建后迭代所有节点并向封装此标签和图标的行添加禁用或启用样式。
One option is to iterate through all the nodes after the tree is built and add the disabled or enabled style to the row that encapsulates the label and icon.
在执行for语句时,游标被隐式声明,这样对于FOR循环的每一次迭代,取回的下一行就是结果集。
When a for statement is executed, a cursor is implicitly declared such that for each iteration of the for loop, the next row is the result set if fetched.
最初,这个迭代器被放在第一行之前,所以当它第一次被调用后,迭代器将指向第一行。
Initially, this iterator is positioned before the first row, such that after it's first called, the iterator points to the first row.
在迭代电子表格的行时,创建XML元素来表示行,如清单8所示。
As you iterate through the spreadsheet's rows, create XML elements to represent the rows, as in Listing 8.
通常它也包含一个“理想”行,以指示迭代从开始到结束工作的顺利进展。
It is also common for it to include an "idea" line that indicates a smooth progression of the work from start to finish of the sprint.
问题的核心在于,您需要迭代表的32行,但是XSLT 1.0没有提供实际的实现方法。
The core of the problem is that you need to iterate through 32 rows of the table, but XSLT 1.0 offers you no practical way to do that.
Ruby和Groovy开发人员喜欢炫耀他们如何能迭代整个文本文件并通过一行代码将其内容输出到控制台。
Ruby and Groovy developers like to brag about how they can iterate across a text file and print its contents to the console with a single line of code.
然后,foreach循环迭代通过每个数据项并利用数据创建一个新行。
Then the foreach loop iterates through each data item and creates a new row with the data.
此程序使用一个迭代器来从stdin 中读取一行,同时另一个迭代器将该行分割成单个的标记。
This program uses an iterator to read a line from stdin and another iterator to split the line into individual tokens.
对于通过CONNECTBY子句的迭代生成的所有行,LEVEL增加1。
For all rows produced by the iterations of the CONNECT by clause LEVEL is raised by 1.
在Web应用程序环境中,迭代主要用于访存和显示数据集,通常是以列表或表中的一系列行的形式显示。
In the context of Web applications, iteration is primarily used to fetch and display collections of data, typically in the form of a list or sequence of rows in a table.
当在上面第 1行处调用Call类的 invoke方法时, Call 类迭代其相关的参数。
When the invoke method of the Call class is called at line 1 above, the Call class iterates through its associated parameters.
您将再次调用 DataTables 对各表行执行隐式循环,var属性指示迭代过程中的当前行。
You will recall that DataTables execute an implicit loop over their rows, and the var attribute indicates the value of the current row during the iteration.
下面展示了通过forEach标记对cities Result对象中包含的行的迭代。
Iteration over the rows contained in the cities Result object is shown below using the core forEach tag.
运算符在一个范围内迭代。因此,该脚本并不是数10个行,而是对- n开关生成的循环迭代10次(请参阅“perldocperlrun”和清单2,以获得该循环的示例)。
Thus, the script does not count 10 lines, it counts 10 iterations of the loop generated by the -n switch (see "perldoc perlrun" and Listing 2 for an example of that loop).
writer方法从一个可迭代的对象生成一个CSV文件;cursor.fetchall() 功能强大,4 个代码行就足以生成 CSV输出。
The csv.writer method produces a CSV file from an iterable object; cursor.fetchall() is a bit of a beast, and four lines are enough to produce the CSV output.
每经过一次测试迭代,指针就会移动到数据库中的下一行。
On each test iteration, the pointer moves to the next row in the database.
探讨了一种行投影块迭代算法来求解大型相容线性系统。
In this paper we discuss a block-iterative algorithm with row projection for solving large consistent linear system.
清单4的最后两行代码迭代了所有条目,并打印出它们的标题。
The last two lines of code in Listing 4 will iterate over each entry, printing out its title.
给出含部分已定值变量的线性方程组的行处理法迭代解法,并分析算法的收敛性。
This paper puts forward the row action method to solve a system of linear equations with partial determinate variables, and analyses the convergence of this method.
这将使测试以迭代方式运行,对数据库中的每一行都运行一次测试。
This causes the test to run iteratively, one time for each row in the database.
应用推荐