Detta arbete är det första steget i en lång process vars slutgiltiga mål är att utveckla en metod för automatisk övergång från en icke-generisk objektorienterad applikation till en generisk. Helst borde stöd för en sådan transformation implementeras i en utvecklingsmiljö, IDE. En analogi skulle kunna dras till faktorisering av klasser, en operation som stöds av de flesta utvecklingsmiljöer idag. Som ett första steg i en pågående process är detta arbete tänkt att fungera som ett icke-trivialt exempel för framtida analys. Exemplet består av ett icke-generisk och ett generisk grafpaket som är skrivet i Java 1.4.2 respektive Java 5.0. Uppsatsen beskriver övergången från den icke-generiska till den generiska lösningen på systematiskt sätt som går att upprepa. Tanken är att detta arbete även skall kunna appliceras på andra språk och applikationer i framtiden. / This work is the first step in a long process, which final goal is to develop a method that automatically allows you to go from a non-generic object-oriented program to a generic one. Preferably, support for such a conversion should be implemented in an Integrated Development Environment (IDE). An analogy could be drawn to the factorisation of classes, an operation supported by the most common IDEs today. As a first step in an ongoing process, this work is meant to be a non-trivial example for future analysis. The example project constitutes of a non-generic and a generic graph package, which is written in Java 1.4.2 and Java 5.0 respectively. The thesis describes the transition from the non-generic to the generic solution in a systematic and repeatable way. The idea is that this work could be applied to other languages and applications in the future, as well.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:vxu-1319
Date January 2007
CreatorsSaxeggen, Tomas
PublisherVäxjö universitet, Matematiska och systemtekniska institutionen
Source SetsDiVA Archive at Upsalla University
LanguageSwedish
Detected LanguageSwedish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess

Page generated in 0.0015 seconds