该清单展示了内部迭代器(也称为push迭代器,因为它将每个元素依次推到代码块中)。
This listing illustrates an internal iterator (also known as a push iterator because it pushes each element in turn to the code block).
由于提示位于循环体之前,因此这段代码将使提示对于循环的每次迭代都保持活动状态,不过它只使用了一个周期。
Because the hint is before the loop body, this code leaves your hint active for every iteration of the loop, but it only has to use one cycle.
对于执行一个循环中的代码的任务,通常只需为每一个循环迭代检查一次中断。
For tasks that execute code in a loop, it is common to check for interruption only once per loop iteration.
代码接下来对艺术家进行迭代,将其添加到表中。
Next the code iterates over the artists, adding them to the table.
迭代器是某种代码助手,可以让您迅速地访问任何集合或容器中的数据,每次一个数据。
An iterator is a kind of code helper that lets you quickly access data in any collection or container, one at a time.
写功能设计规格是敏捷开发中非常核心的一部分,因为它可以让您迅速地迭代许多可能的设计,然后再编写代码。
Writing a functional specification is at the very heart of agile development, because it lets you iterate rapidly over many possible designs before you write code.
这将会限制部分完成的工作,并意味着有些完成的代码会在迭代或者冲刺阶段进行交付。
This will limit partially done work and mean that some completed code will be delivered within the iteration or sprint.
找到并修复这些问题,然后要求开发和质量保证测试的人员对最新代码变更进行完整的迭代。
Fixing the found issues then requires a full iteration of late code changes by development and quality assurance testing personnel.
闭包的好处远不止是节省几行代码,它的使用模式也远不止是简单的迭代。
The advantages of closures go beyond saving a few lines of code, and the usage patterns go beyond simple iteration.
然后,该代码进行迭代,以发送上述五条消息。
因为我们在每一个迭代结束后都发布代码,所以RUP让测试变得简单,并且降低了在项目的后期发现重大问题的概率。
Because we delivered code at the end of each iteration, RUP allowed testing to start early, and it reduced the risk of major defects being identified much later in the project.
使其他人可以访问和使用您代码的最后一次迭代。
Make the last iteration of your code available for others to access and use.
该迭代过程运行并重新运行原始的应用程序源代码,以确保高质量的转换。
This iterative process enables the original application source code to be run and rerun to ensure a high-quality transformation.
在前面每个例子的基础上,对迭代器上进行了过滤和转换,从而展示这种代码模式可以立即在真实的世界中使用。
Filters and transforms on iterators build on each previous example to show code patterns that are immediately useful in the real world.
在迭代开发中,在开发代码和测试片段时,他们的策略是进行广泛的检验,以确认架构的有效性以及与涉众需求的一致性。
In iterative development, as developers code and test pieces, their strategy is reviewed by a wider audience for architectural validity and compliance with stakeholder needs.
更早地实现全球化需求可以不断地降低风险是十分关键的,晚期在迭代和增量开发中有较大代码变更或者进度表延迟就是风险之一。
It is critical to fulfill globalization requirements earlier to continuously reduce risks such as late major code changes or schedule delays for iterative and incremental development.
TDD是一种迭代流程,需要您在代码开发中对代码做出细微增量式更改之后运行测试用例。
TDD is an iterative process and requires you to run the test cases after small incremental changes to the code during code development.
在此示例中,代码块迭代,直至循环根据条件而中断。
In this example, the code block is iterated until the loop is broken through the condition.
敏捷可使用持续的涉众反馈,通过用例(或用户案例)以及一系列较短的定时迭代,来交付优质的可消费代码。
"Agile USES continuous stakeholder feedback to deliver high quality consumable code through use cases (or user stories) and a series of short, time-boxed Iterations".
在早期开发中的设计评审允许架构师们发现潜在的可重用的机会,并且利用这个机会为接下来的迭代开发成熟的公用代码。
Design reviews in early iterations allow architects to spot potential opportunities for reuse, and then develop and mature common code for these opportunities in subsequent iterations.
当执行完代码并产生数据结构时,只需迭代它,依次创建每个小部件。
When you've evaluated the code and produced the data structure, simply iterate through it and create each widget in turn.
列出迭代的需求清单,只编写支持这些需求的代码。
Make a list of requirements for an iteration, and write only the code that supports those requirements.
通过FVT验证的代码与我们提交的每次迭代中验收测试的代码品质都一样。
Code which has been through FVT has an equivalent quality to the acceptance-tested code we delivered in each of our iterations.
“基础”表示来自最后一个版本或者最后一次迭代的旧代码。
"Base" represents old code from last version or last iteration.
代码以迭代方式演变。
方法使代码能够迭代所有传入插件的选定元素。
A method gives your code the ability to loop through all the selected elements that are passed into the plug-in.
假设您正在通过循环计时200,000次迭代,编译代码比解释代码快10倍。
Let's say you're going to time 200,000 iterations through a loop, and the compiled code is 10 times faster than the interpreted code.
开发的的第一个迭代包括使用RationalRose作为起始点生成代码的框架。
The first iteration of development involved generating a code skeleton out of Rational Rose as a starting point.
将下列代码添加到迭代器循环的底部
正如您可以通过上述步骤看到的那样,TDD是一种迭代流程,您可以依靠在增量式代码更改之后允许JUnit测试用例。
As you can see from the steps described above, TDD is an iterative process and you can rely on running the JUnit test case after incremental code changes.
应用推荐