DocumentCode
328107
Title
Unconstraining genericity
Author
Evered, Mark
Author_Institution
Ulm Univ., Germany
fYear
1997
fDate
35674
Firstpage
340
Lastpage
349
Abstract
Generic classes and especially generic collection libraries can be of great benefit for efficient software production. Constrained genericity is used to guarantee that the type provided as a parameter to a generic class such as a sorted list will offer the methods that class requires. We argue that constrained genericity is not really the appropriate mechanism for this purpose since it restricts a generic class to one kind of use for each element type. We introduce the concept of `generic procedure parameters´ which allow the properties of a collection class to be specified in the instantiation rather than via the properties of the elements. We show that the concept is very efficiently implementable, more powerful than constrained genericity and more useful for the practical construction of complex data collections
Keywords
object-oriented programming; software libraries; software reusability; complex data collections; constrained genericity; generic classes; generic collection libraries; generic procedure parameters; object oriented programming; software production; software reuse; sorted list; Computer languages; Data structures; Java; Object oriented programming; Packaging; Production; Proposals; Safety; Software libraries; Software reusability;
fLanguage
English
Publisher
ieee
Conference_Titel
Technology of Object-Oriented Languages, 1997. TOOLS 24. Proceedings
Conference_Location
Beijing
Print_ISBN
0-8186-8551-4
Type
conf
DOI
10.1109/TOOLS.1997.713561
Filename
713561
Link To Document