Up to this point we've been traversing the record store with a simple for loop.
至此,我们已经使用一个简单的for循环遍历了记录存储。Just a warning though, doing an SNMP walk of the whole . iso tree can take quite a while, so you might want to just take my word for it.
尽管只是一个警告,但对整个.iso树的SNMP遍历可能会花费较长的时间,因此您可能会接受我的观点。Much like the PHP version, I then iterate over the items in the list that are lines of the standard out of the command.
与PHP版本非常相似,然后我对命令的标准输出行列表中的项进行了迭代遍历。Depth-first walking means that the processor visits all the children of a given node recursively until it has processed the entire document.
深度优先遍历意味着,处理器递归访问某一给定节点的所有子代,直到处理了整个文档为止。Thus, iterating over the elements in a list is typically preferable to indexing through it if the caller does not know the implementation.
因此如果调用者不了解实现方式,通常应该遍历列表元素,这比指定下标位置更可取。It can also be used to "walk backwards" through a collection or list, rather than trying to do everything from the front.
它还可以用于“反向遍历”集合或列表,而无需每次都从前向后遍历。It loops over a set of elements (selected through the select attribute as well), in this case the various items.
它循环遍历一组元素(也是通过select属性选中的),在本例中是不同的item。What we do is, in a loop, march down the argument list checking each one to see if it is an option.
我们所做的是,用一个循环遍历参数列表检查每个参数来看它是否为选项。The goal of this article was to take you through the Galileo release train and showcase some of the projects that are part of the release.
本文的目的是带您遍历Galileo发行版系列,并展示该发行版中的一些项目。