iterate through中文,iterate through的意思,iterate through翻译及用法

2025-10-31 22:28 浏览次数 8

iterate through

循环访问

iterate through 例句

英汉例句

  • 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.

    一种做法是在此树构建后迭代所有节点并向封装此标签和图标的行添加禁用或启用样式。

  • this method will iterate through each of the files it is handed, filtering out the ones not requested and getting the exif data for those that are of type .jpg.

    这个方法将迭代接收到的每个文件,过滤出没有请求的文件,并获取.jpg文件的exif数据。

  • for instance, you might iterate through all the show elements, as in listing 8.

    例如,可以遍历所有show元素,如 清单8 所示。

  • with this formatter now available, the second for loop can finally iterate through the full range of line numbers, retrieving the corresponding text buffer contents one line at a time

    有了这个格式化程序后,第二个for循环就可以遍历完整的行号范围,每次取回一行相应的文本缓沖内容

  • to accomplish this, we need to iterate through the portlet request parameters to find any parameter that starts with the string id .

    为了完成删除,我们需要迭代portlet请求参数以查找任何以字符串id开始的参数。

  • a flwor expression is much like a select-from-where expression in sql: it is used to iterate through a list of items and to optionally return something that is computed from each item.

    flwor表达式非常像sql 中的select-from-where表达式 ——它用于对由多项组成的一个列表进行迭代,并且可以选择返回通过在每一项上进行计算得到的值。

  • again, use temporary arrays to hold the xml nodes when you iterate through the result.

    同样,遍历结果时使用一个临时数组来保存xml节点。

  • the iterkeys() method lets you iterate through the key values of a dictionary, whereas the itervalues() method allows you to iterate through the data values contained within a dictionary.

    iterkeys()方法允许遍历dictionary的键,而itervalues()方法允许遍历dictionary包含的数据值。

  • use a temporary array to hold the xml nodes when you iterate through the result.

    当您遍历结果时,可以使用一个临时数组来保存xml节点。

  • loadallgroups gets information about all the groups in all the directories so that you can use a loop, such as the one described earlier, to iterate through them.

    loadallgroups 获取所有目录中关于所有组的信息,这样您可以使用循环(比如前面描述的循环)在这些目录中进行迭代。

  • from here, you iterate through the domain ids that are available; for each one, you create a domain object, and then suspend, resume, and finally destroy the domain.

    从这里开始,重复可用的域id;对每个id创建一个域对象,然后中止,继续,最后删除该域。

  • after the server is registered, we iterate through the set of keys and handle each one based on its type.

    server被注册后,我们根据每个关键字(key)的类型以迭代方式对一组关键字进行处理。

  • simply put, the for loop lets you iterate through the items in a collection of objects.

    简单地说,使用for循环,可以迭代中对象集合的项目。

  • then iterate through all the items in the document and extract the relevant information to create the html string that is used to publish this information to the user.

    然后,循环遍历文档中的所有商品并提取相关信息,创建用来向用户显示信息的html字符串。

  • to skip it you take a slice of the argv list, effectively starting at position one (1), and then iterate through the end of the list.

    要跳过它,取走argv列表的片段,实际开始位置为一(1),然后迭代直到列表的最后。

  • to identify an individual by name without xpath would require us to iterate through all the person objects and test the name property until a match was found.

    要按名称而不使用 xpath 来确定个别对象,则需要重复所有person对象并测试名称属性,直到发现匹配的对象。

  • listing 7. using sql:query> to query a database, and using c:foreach> to iterate through the result set

    清单7:使用sql:query>来查询数据库,使用c:foreach>来迭代整个结果集

  • in fact, scala’s enumeration class supports the usual methods for working with collections, so we can easily iterate through the breeds with a for loop and filter them by name.

    实际上,scala 的枚举类支持和集合协作需要的一般方法,所以我们可以简单地在循环中遍历这些种类,或者通过名字过滤它们。

  • however, you can iterate through a set of rows and update each row individually while using optimistic locking techniques.

    不过,您可以使用乐观锁定技术循环访问一组行并单独更新每个数据行。

  • you can either iterate through each set manually, through its iterator(), or just call the tostring() method (implicitly), which essentially just does that for us.

    您可以通过集的iterator()手工迭代每个集的各个元素,或只调用tostring()方法(隐式地),实际上就是它为我们做了那些工作。

  • once you have built up your final array, you can iterate through the array and generate a list of sums and what their respective odds are.

    在构建完最终数组后,您可以迭代数组并生成骰子数总和的列表及其各自的机率。

  • this means that you can not only iterate through the file line-by-line, but also split it into tokens at the same time. listing 20 shows an example

    这意味着您不仅可以逐行遍历文件,同时还可以将它分为不同的标记。

  • the workbook contains several worksheets; iterate through them by using the workbook sheetcount property.

    该工作簿包含几个工作表:通过使用工作簿sheetcount特性迭代它们。

  • a cursor is a database structure that allows you to iterate through the results of an sql query.

    游标是一种数据库结构,它将允许您循环访问sql查询的结果。

  • for example, rather than having to write 2gb of data into the grid, we iterate through an input file (say in steps of 50k) and write the read data into the grid.

    例如,与其将2gb的数据项写入网格,不如对输入文件迭代读取(譬如每次读取50k),再将其每次读取的少量数据写入到网格中。

  • through a simple script, you are able to iterate through all of the local qemu domains, emit some information about the domain, and then control the domain.

    通过一个简单的脚本就能够重复所有本地qemu域,发行有关域的信息,然后控制域。

  • it uses xsl:for-each> to iterate through the children of .

    它使用 xsl:for-each>来迭代 的 子代。

相关热词