在默认情况下,任何循环在达到一定的迭代次数(比如10,000次)之后,就应该触发整个方法的编译。
By default, any loop should trigger compilation of the entire method after 10,000 iterations or so.
迭代方法将项目分为一序列短的时间块,称为迭代(有时候称为“短跑”或“循环”)。
An iterative approach divides a project into a sequence of short timeboxes called iterations (which are sometimes referred to as "sprints" or "cycles").
main方法使用增强的for循环来迭代通过不同的原语,并在当前实例上使用一个简单的switch语句来设置每个原语的大小值。
The main method USES an enhanced for loop to iterate through the different primitives and a simple switch statement on the current instance to set the size value of each primitive.
应用推荐