Adding external iterators to an existing Eiffel class library

Olivier Zendra 1 Dominique Colnet 1
1 ECOO - Environment for cooperation
INRIA Lorraine, LORIA - Laboratoire Lorrain de Recherche en Informatique et ses Applications
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.
Type de document :
Communication dans un congrès
32th conference on Technology of Object-Oriented Languages & Systems - TOOLS Pacific'99, Nov 1999, Melbourne, Australia, IEEE Computer Society, pp.188 - 199, 1999, Technology of Object-Oriented Languages and Systems, 1999. TOOLS 32. Proceedings. 〈10.1109/TOOLS.1999.809425〉
Liste complète des métadonnées

https://hal.inria.fr/inria-00098784
Contributeur : Publications Loria <>
Soumis le : mardi 26 septembre 2006 - 08:37:01
Dernière modification le : jeudi 11 janvier 2018 - 06:19:48
Document(s) archivé(s) le : mercredi 29 mars 2017 - 12:41:03

Fichiers

Identifiants

Collections

Citation

Olivier Zendra, Dominique Colnet. Adding external iterators to an existing Eiffel class library. 32th conference on Technology of Object-Oriented Languages & Systems - TOOLS Pacific'99, Nov 1999, Melbourne, Australia, IEEE Computer Society, pp.188 - 199, 1999, Technology of Object-Oriented Languages and Systems, 1999. TOOLS 32. Proceedings. 〈10.1109/TOOLS.1999.809425〉. 〈inria-00098784〉

Partager

Métriques

Consultations de la notice

239

Téléchargements de fichiers

36