DocumentCode :
3370067
Title :
Adding external iterators to an existing Eiffel class library
Author :
Zendra, Olivier ; Colnet, Dominique
Author_Institution :
Univ. Henri Poincare, Vandoeuvre-les-Nancy, France
fYear :
1999
fDate :
1999
Firstpage :
188
Lastpage :
199
Abstract :
This paper discusses common iteration schemes and highlights the interest of using explicit iterators. The advantages of external iterators are compared to those of internalized iterators. The integration of an iterator class hierarchy to an existing library without modifying the latter is detailed. This integration brings an extra level of abstraction to the library, which thus becomes more flexible, more adapted to certain design patterns and hence can be used in a higher-level way. Such an integration is not only possible, but can even be done in an optimized way, taking into account the specific structure of the collection traversed. A slight extension of existing class libraries can also be implemented that does not cause any compatibility problem and does not break existing code, but allows even further abstraction and makes it easier for the developer to use high-level, optimized, external iterators
Keywords :
object-oriented languages; object-oriented programming; software libraries; Eiffel; class library; design patterns; explicit iterators; external iterators; object oriented programming; Bismuth; Libraries; Variable speed drives;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Technology of Object-Oriented Languages and Systems, 1999. TOOLS 32. Proceedings
Conference_Location :
Melbourne, Vic.
Print_ISBN :
0-7695-0462-0
Type :
conf
DOI :
10.1109/TOOLS.1999.809425
Filename :
809425
Link To Document :
بازگشت