Abstract
Sammlungen von Daten spielen eine wichtige Rolle bei fast jeder Art der Programmierung. Aus diesem Grunde bieten praktisch benutzte objektorientierte Sprachen Standard-Bibliotheken an, die Klassen für die Verwaltung von Objektsammlungen enthalten. Diese Bibliotheken sind besonders dafür kritisiert worden, daß sie softwaretechnische Prinzipien wie Geheimnisprinzip und Orthogonalität nicht hinreichend berücksichtigen. In diesem Beitrag evaluieren wir das neue ‘Collections Framework‘ des ‘Java Development Kit‘ 1.2, das durch die Definition der ‘Core Collection Interfaces‘ einige Vorteile hinsichtlich der Verständlichkeit und Erweiterbarkeit solcher Bibliotheken bietet. Wir diskutieren sowohl Schwächen des Framework, die auf einer inkonsequenten Anwendung von Softwaretechnikprinzipien beruhen, als auch Probleme, die aus der Definition der Sprache Java selbst resultieren.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
O.Agesen, S.N. Freund and J.C. Mitchell “Adding Type Parameterization to the Java Language”, in Proc. OOPSLA ’97, pp. 49–65, 1997.
D. Batory, V. Singhai, M. Sirkin and J. Thomas “Scalable Software Libraries”, in Proc. SIGSOFT ’93, Los Angeles, CA, pp. 191–199, ACM, 1993.
W.R. Cook, “Interfaces and Specifications for the Smalltalk-80 Collection Classes”, in Proc. OOPSLA ’92, in ACM SIGPLAN Notices, 27, 10, pp. 1–15, 1992.
W.R. Cook, W.L. Hill and P.S. Canning “Inheritance is Not Subtyping”, in Proc. 17th ACM Symposium on Principles of Programming Languages, San Francisco CA, pp. 125–135,1990.
M. Evered,J.L.Keedy,G.Mengerand A.Schmolitzky “A Useable Collection Framework for Java”, in Proc. 16th IASTED Conf. on Applied Informatics, Garmisch-Patenkirchen, 1998.
M. Evered, J.L. Keedy,A. Schmolitzky and G. Menger “How Well Do Inheritance Mechanisms Support Inheritance Concepts?”, in Proc. Joint Modular Languages Conference (JMLC) ’97, Linz, Austria, in Lecture Notes in Computer Science 1204, pp. 252–266,1997.
M. Evered,J.L.Keedy, A.Schmolitzkyand G. Menger “Genja: A New Proposal for Genericity in Java”, in Proc. Conference on Technology of Object-Oriented Languages and Systems, 25, Melbourne, pp. 181–193,1997.
M.Evered “Unconstraining Genericity”, in Proc. Conference on Technology of Object-Oriented Languages and Systems, 24, Beijing, pp. 423–431,1997.
E.Gamma,R.Helm,R.Johnson and J.Vlissides, Design Patterns: Elements of Reusable Object-Oriented Software, Reading, MA.: Addison-Wesley Publishing Company, 1995.
A. Goldberg and D. Robson, Smalltalk-80 The Language, Reading, MA: Addison-Wesley, 1989.
J. Gosling, B. Joy and G. Steele, The Java Language Specification, Reading, MA: Addison-Wesley, 1996.
Javasoft WWW Page (JDK 1.2 Beta 3) http://www.javasoft.com/products/jdk/l.2/docsl guide/collections/index.html, 1998.
B. Liskov, D. Curtis, M. Day, S. Ghemawat, R. Gruber, P. Johnson and A.C. Myers “Theta Reference Manual”, Report Number 88, MIT Lab. for Computer Science, Cambridge, MA, 1995.
B. H. Liskov, J. M. Wing: “A Behavioral Notion of Subtyping”, ACM Transactions on Programming Languages and Systems, Vol. 16:6, pp. 1811–1841, 1994.
W. LaLonde and J. Pugh “Subclassing ≠ subtyping ≠ Is-a”, in Journal of Object-Oriented Programming, 1991, pp. 57–62.
A. C. Myers, J. Bank, B. Liskov: “Parameterized Types for Java”, Proc. Symposium on Principles of Programming Languages ’97, Paris, France, pp. 132–145, 1997.
B. Meyer, Eiffel: The Language, New York: Prentice-Hall, 1992.
B. Meyer “Reusable Software, The Base Object-Oriented Component Libraries (Version 3.2.2)”, Report Number TR-EI-44/LI, ISE, Santa Barbara, 1994.
G. Menger, J. L. Keedy, M. Evered and A. Schmolitzky “Collection Types and Implementations in Object-Oriented Software Libraries”, in Proc. Conference on Technology of Object-Oriented Languages and Systems, 26, Santa Barbara, 1998 (to appear).
D. R. Musser and A. Saine, STL Tutorial and Reference Guide, C++ Programming with the Standard Template Library, Reading, MA: Addison-Wesley, 1996.
J. T. Schwartz “Automatic Data Structure Choice in a Language of Very High Level”, Comm. ACM, 18, 12 pp. 722–728, 1975.
C. Szypersky, S. Omohundro and S. Murer “Engineering a Programming Language: The Type and Class System of Sather”, in Programming Languages and System Architectures, ed. J. Gutknecht, Springer-Verlag, pp. 208–227, 1993.
Stroustrup, B. (1989) “The C++ Programming Language”, Addison-Wesley, Bonn.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1999 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Evered, M., Menger, G. (1999). Eine Evaluierung des Java JDK 1.2 Collections Framework aus Sicht der Softwaretechnik. In: Cap, C.H. (eds) JIT’98 Java-Informations-Tage 1998. Informatik aktuell. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-59984-2_2
Download citation
DOI: https://doi.org/10.1007/978-3-642-59984-2_2
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-64971-7
Online ISBN: 978-3-642-59984-2
eBook Packages: Springer Book Archive