网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 iterator
释义

iterator

英汉-汉英词典
n. 迭代器;迭代程序
词组 | 习惯用语
您要查找的是不是:
  • iterate vt. 反复说;重复;重做;[计]迭代
  • iter n. [解]通路;[解]导管
  • iterative adj. 重复的,反复的,迭代的 n. 反复体
iterator n. 迭代器;迭代程序

网络短语:
iterator categories 迭代器种类;迭代器的分类
Intrinsic Iterator 内禀迭代子
Iterator Traits 迭代器特征; 迭代器特性;
Lvalue Iterator 左值迭代器
Iterator invalidation 迭代器失效
bidirectional iterators 双向迭代器
iterator protocol 迭代器协议
invalidated iterator 无效迭代器
iterator arithmetic 迭代器算术操作; 迭代器运算;
中文百科

迭代器

迭代器iterator)有时又称光标(cursor)是编程的软件设计模式,可在容器对象(container,例如链表或数组)上遍访的接口,设计人员无需关心容器对象的内存分配的实现细节。

各种语言实作迭代器的方式皆不尽同,有些面向对象语言像Java, C#, Ruby, Python, Delphi都已将迭代器的特性内置语言当中,完美的跟语言集成,我们称之隐式迭代器(implicit iterator),但像是C++语言本身就没有迭代器的特色,但STL仍利用模板实作了功能强大的迭代器。STL容器的数据的内存地址可能会重新分配(reallocate),与容器绑定的迭代器仍然可以定位到重新分配后的正确的内存地址。

英语百科

Iterator 迭代器

In computer programming, an iterator is an object that enables a programmer to traverse a container, particularly lists. Various types of iterators are often provided via a container's interface. Though the interface and semantics of a given iterator are fixed, iterators are often implemented in terms of the structures underlying a container implementation and are often tightly coupled to the container to enable the operational semantics of the iterator. Note that an iterator performs traversal and also gives access to data elements in a container, but does not perform iteration (i.e., not without some significant liberty taken with that concept or with trivial use of the terminology). An iterator is behaviorally similar to a database cursor. Iterators date to the CLU programming language in 1974.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/22 4:20:13