[计] 迭代器,迭代程序;
The main problem is that we create a new copy of the iterator every time.
主要问题是,每次都要创建迭代器的一个新副本。
来源:互联网摘选When we assign through an insert iterator, the iterator inserts a new element.
当我们通过inserter迭代器赋值时, 迭代器插入新的元素.
来源:网络文摘精选返回的cursor对象基本上是一个迭代器,我可以在其上直接使用Groovy的一流each,以便打印出一个可爱的小报告。
来源:互联网摘选在编译时,尝试对Map获取Iterator会导致失败&Map并没有实现Iterable接口。
来源:互联网摘选RUP过程鼓励复用,设计过程中使用很多设计模式来增加复用性,如抽象工厂、观察者模式和迭代器模式等。
来源:互联网摘选A bidirectional iterator is an iterator that can read through a sequence of values.
双向迭代器是一种可以读入一组值的序列的迭代器.
来源:网络文摘精选There are five iterator categories: input, output, forward, bidirectional, and random access.
标准库定义了五种迭代器类别: 输入 、 输出 、 前向 、 双向和随机访问迭代器.
来源:网络文摘精选This iterator adaptor caches the result of dereferencing the underlying iterator.
这个迭代器适配器缓存底层迭代器解引用的结果.
来源:网络文摘精选很容易就能将Rope迭代器改成一次向前移动不止一个字符。
来源:互联网摘选前几个例子展示了更为现代的基于Java的语言包含了四人组模式,该语言中直接包含了迭代器和命令模式。
来源:互联网摘选Only a random-access iterator may be passed to an algorithm requiring a random-access iterator.
调用需要随机访问迭代器的算法时,必须传递随机访问迭代器.
来源:互联网摘选本质上,for循环涉及到一个迭代器(iterator),用于在集合中逐项移动。
来源:互联网摘选The type of the underlying iterator, through which the input stream is accessed.
底层迭代器的类型, 通过它访问输入流.
来源:互联网摘选A type playing the role of iterator-type in the BidirectionalIterator concept.
在双向迭代器概念中担任迭代器类型角色的类型.
来源:互联网摘选这些独特的特性包括iterator块、并行赋值和像Range类这样奇妙的东西。
来源:互联网摘选无论是需要常量输入迭代器还是常量输出迭代器,均可以使用双向迭代器.
来源:网络文摘精选A type playing the role of iterator-type in the OutputIterator concept.
在输出迭代器概念中担任迭代器类型角色的类型.
来源:互联网摘选What are the benefits of offering a LValue iterator against a Read Write iterator?
提供一个左值迭代器而不是读写迭代器有什么好处?
来源:网络文摘精选
英语网 · 双语娱乐资讯
英语网 · 双语娱乐资讯
英语网 · 双语娱乐资讯
英语网 · 双语娱乐资讯
英语网 · 双语娱乐资讯
英语网 · 双语新闻