The Community for Technology Leaders
Technology of Object-Oriented Languages, International Conference on (1999)
Nanjing, China
Sept. 22, 1999 to Sept. 25, 1999
ISSN: 1530-2067
ISBN: 0-7695-0393-4
pp: 166,167,168,169,170,171,172,173,174,175,176
Y. Crespo , Dept. de CC. de la Comput., Univ. de La Habana, Brazil
ABSTRACT
Generic classes allow one, through type parameter instantiation, to obtain new classes that are adapted to different contexts. Therefore, genericity is an important support for class reuse. When the possibility of reusing a class to deal with elements of different domains arises, it is desirable to have the appropriated generic class. Nevertheless, the construction of generic classes is a task that must be planned in advance. Hence, the possibility of reusing a class in other domain can appear, but maybe the class is not prepared for this. In this paper, we present the definition of a class restructuring operator which allows one to obtain generic classes from non-generic classes. The operator is named "parameterize". In particular, we present the operator definition for an environment that supports the reuse of Eiffel classes. First, we present briefly the operator and then we focus on those aspects concerned with how to obtain a restriction class to constrain generic parameters. All these aspects are introduced by using examples.
INDEX TERMS
Object oriented programming, Libraries, Fellows, Object oriented modeling, Performance loss, Safety, Encapsulation, Security
CITATION

Y. Crespo, J. Rodriguez and J. Marques, "Obtaining generic classes automatically through a parameterization operator. A focus on constrained genericity," Proceedings Technology of Object-Oriented Languages and Systems. TOOLS 31(TOOLS), Nanjing, China, 2013, pp. 166,167,168,169,170,171,172,173,174,175,176.
doi:10.1109/TOOLS.1999.796480
88 ms
(Ver 3.3 (11022016))