完整後設資料紀錄
DC 欄位語言
dc.contributor.authorWu, PCen_US
dc.contributor.authorWang, FJen_US
dc.date.accessioned2014-12-08T15:40:27Z-
dc.date.available2014-12-08T15:40:27Z-
dc.date.issued2003-09-01en_US
dc.identifier.issn1016-2364en_US
dc.identifier.urihttp://hdl.handle.net/11536/27618-
dc.description.abstractIteration is an operation that traverses the objects of a collection object. Iterators are operators/methods widely used for iteration on a collection of objects. However, iterators were considered to be ad hoc and to be a sign of weakness in object-oriented programming languages. There is a need to formalize iterators and to study their strength and weaknesses. In this paper we first propose a taxonomy of iterators based on the number of data states and the number of control points. The taxonomy identifies four categories of iterators. The simplest one can be implemented straightforwardly in an object-oriented language. Iterators of other categories need transformations and are more difficult to design and implement. Finally, we compare the efficiency of iterators with other implementations of iteration. The results show that all iteration techniques tested, including iterators, have been well optimized and are almost as fast as directly coded loops using recent C++ compilers.en_US
dc.language.isoen_USen_US
dc.subjectcollection objectsen_US
dc.subjectobject-oriented programiningen_US
dc.subjectcontrol pointsen_US
dc.subjectefficiencyen_US
dc.subjectthe C plus plus languageen_US
dc.titleIterators: Taxonomy, strength, weakness, and efficiencyen_US
dc.typeArticleen_US
dc.identifier.journalJOURNAL OF INFORMATION SCIENCE AND ENGINEERINGen_US
dc.citation.volume19en_US
dc.citation.issue5en_US
dc.citation.spage839en_US
dc.citation.epage856en_US
dc.contributor.department資訊工程學系zh_TW
dc.contributor.departmentDepartment of Computer Scienceen_US
dc.identifier.wosnumberWOS:000186572400007-
dc.citation.woscount0-
顯示於類別:期刊論文


文件中的檔案:

  1. 000186572400007.pdf

若為 zip 檔案,請下載檔案解壓縮後,用瀏覽器開啟資料夾中的 index.html 瀏覽全文。