MetaCartSign in to MyCiteSeer

Include Citations | Advanced Search | Help

Include Citations | Advanced Search | Help

  Adding external iterators to an existing Eiel class library (1999) [1 citations — 0 self]

Download:
Download as a PDF | Download as a PS
by Olivier Zendra, Dominique Colnet
In TOOLS Paci 32
http://www.cs.mcgill.ca/~ozendra/publications/tools-pacific-1999.ps.gz
Add To MetaCart

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 exible, 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 specic 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. 1

Citations

3620 Design Patterns: Elements of Reusable Object-oriented Software – Gamma, Helm, et al. - 1994
68 Reusable Software: The Base Object-Oriented Component Libraries – Meyer - 1994
42 The Language and its Implementation – Smalltalk-80 - 1983
26 The Java Language Specication – Gosling, Joy, et al. - 1996
25 Efficient dynamic dispatch without virtual function tables: The SmallEiffel compiler – Zendra, Colnet, et al. - 1997
7 The Language – Eiel - 1994
5 Optimizations of Eiel programs: SmallEiel, The GNU Eiel Compiler – Colnet, Zendra - 1999
4 Object Structures: Building Object-Oriented Software Components – Gore - 1996
2 Pylon: a foundation library – Arnaud - 1997
1 Gobo Eiel Structure Library – Bezault - 1997