迭代器功能强大,因为您可以添加要遍历的新类型条目,并且无需更改遍历条目的代码。
An iterator is powerful because you can add new types of items through which to iterate, and you don't have to change the code that loops through the items.
有一些OS X服务器上的功能,在将来也有可能被移植到迭代os X系统上。
There are some features in OS X Server that we believe may make their way into future iterations of OS X.
为了支持这一新功能,可以修改 Rope的 charAt方法,这样在第一次调用的时候,就在指定位置上构建一个迭代器。
To enable this new capability, the Rope's charAt method can be modified so that, on the first invocation, an iterator is constructed at the specified position.
应用推荐