1、

You can easily modify the Rope iterator to accommodate skipping forward by more than one character at a time.

很容易就能将Rope迭代器改成一次向前移动不止一个字符。

互联网摘选

2、

( as an aside, you can verify that these methods return an iterator and not a container data type by calling the appropriate method on a dictionary directly, as in d.iterkeys().)

顺便说一下,可以通过在dictionary上直接调用适当方法,比如d.i terkeys(),从而检查这些方法是否返回一个迭代器而不是容器数据类型。

互联网摘选

3、

Trying to get an Iterator on a Map fails at compile time& Maps don't implement the Iterable interface.

在编译时,尝试对Map获取Iterator会导致失败&Map并没有实现Iterable接口。

互联网摘选

4、

Using Iterable has some obvious drawbacks when domain modeling, because only one such collection of objects can be so "implicitly" supported via the iterator() method.

在域建模的时候,使用Iterable有一些明显的缺陷,因为通过iterator()方法只能那么“隐晦”地支持一个那样的对象集合。

互联网摘选

5、

The cursor object returned is basically an iterator, so I can use Groovy's nifty each directly on it in order to print out a nice little report.

返回的cursor对象基本上是一个迭代器,我可以在其上直接使用Groovy的一流each,以便打印出一个可爱的小报告。

互联网摘选

6、

they also return specialisations of java. util. iterator, which have extra methods to return specific object types.

它们还返回java.util.Iterator的特殊化,其具有返回特定对象类型的其他方法。

互联网摘选

7、

When we assign through an insert iterator, the iterator inserts a new element.

当我们通过inserter迭代器赋值时, 迭代器插入新的元素.

网络文摘精选

8、

The main problem is that we create a new copy of the iterator every time.

主要问题是,每次都要创建迭代器的一个新副本。

互联网摘选

9、

Transliterator: This class provides a transliterate() function that can convert the string of characters from one language script to another.

Transliterator:这个类提供了一个transliterate()函数,用于将字符串从一种语言脚本转换到另一种语言脚本。

互联网摘选

10、

Such unique features include iterator blocks, parallel assignment, and oddities like the Range class.

这些独特的特性包括iterator块、并行赋值和像Range类这样奇妙的东西。

互联网摘选

11、

Fundamentally, the for loop involves what is known as an iterator, which is used to move through the collection item by item.

本质上,for循环涉及到一个迭代器(iterator),用于在集合中逐项移动。

互联网摘选

12、

Design patterns are also used to increase the reusability as RUP advocated. The abstract factory, observer and iterator patterns is introduced.

RUP过程鼓励复用,设计过程中使用很多设计模式来增加复用性,如抽象工厂、观察者模式和迭代器模式等。

互联网摘选

13、

the c++ lexers packaged with the wave library may be used standalone, too, and are not tied to the c++ preprocessor iterator at all.

与Wave库一起打包的C++lexer也可以单独使用,并没有与C++预处理迭代器捆绑在一起。

互联网摘选

14、

the familiar python idiom for elem in lst: now actually asks lst to produce an iterator.

Python常见的习惯用法foreleminlst:现在实际上让lst产生一个迭代器。

互联网摘选

15、

the iterator types define the dereference operator to return the object to which the iterator refers.

迭代器类型定义了解引用操作符来返回迭代器所指向的对象。

互联网摘选

16、

an iterator is a section of code that returns an ordered sequence of values of the same type.

迭代器是可以返回相同类型的值的有序序列的一段代码。

互联网摘选

17、

This iterator adaptor caches the result of dereferencing the underlying iterator.

这个迭代器适配器缓存底层迭代器解引用的结果.

网络文摘精选

18、

A bidirectional iterator is an iterator that can read through a sequence of values.

双向迭代器是一种可以读入一组值的序列的迭代器.

网络文摘精选

19、

There are five iterator categories: input, output, forward, bidirectional, and random access.

标准库定义了五种迭代器类别: 输入 、 输出 、 前向 、 双向和随机访问迭代器.

网络文摘精选

20、

Bidirectional iterators can be used anywhere that a constant input or constant output iterator is required.

无论是需要常量输入迭代器还是常量输出迭代器,均可以使用双向迭代器.

网络文摘精选

  • 今日热词
  • 热门搜索

英语网英语词典(dict.25820.com)为您提供在线翻译英语词典单词大全英译汉汉译英等英语服务!可按单词字数词义分类查询。支持lj:关键词格式查询例句。

用户反馈
请选择反馈类型(可多选):
您的联系方式:
反馈内容:
提交成功 小编会尽快处理
回到顶部
点击反馈