Hide metadata

dc.date.accessioned2013-03-12T08:01:38Z
dc.date.available2013-03-12T08:01:38Z
dc.date.issued2005en_US
dc.date.submitted2005-08-01en_US
dc.identifier.citationNilssen, Sigmund Marius. Utilizing Generic Packages with Expandable Classes in a Java-like context. Masteroppgave, University of Oslo, 2005en_US
dc.identifier.urihttp://hdl.handle.net/10852/9323
dc.description.abstractGeneric Packages with Expandable Classes is a statically type safe programming mechanism which combines type parameterisation on the package level with class expansion. The former makes the mechanism useful for solving common generic problems. The latter offers a kind of "static inheritance" and can be used to write "unfinished" groups of classes. Such classes can be finally specified when the packages containing them are imported. This thesis provides an evaluation of the usefulness of Generic Packages with Expandable Classes. In particular, it looks at how the mechanism can be used as an alternative to multiple inheritance and covariance. Being able to solve such problems is the main advantage of GePEC compared to most other type-­parameterized module mechanisms. As part of the evaluation, it is discussed how Generic Packages with Expandable Classes might be best utilized in practice. Several problems arise when we attempt to use the mechanism with typical Object Oriented techniques. These problems and their reasons are pointed out during the description and discussion of the mechanism. Based on these observations, an approach to programming is suggested which avoids problems but still allows us to take advantage of the mechanisms involved. This strategy, called package hierarchy programming, also seems promising as a way to make programs more flexible for code reuse, although it sacrifices readability.nor
dc.language.isoengen_US
dc.titleUtilizing Generic Packages with Expandable Classes in a Java-like contexten_US
dc.typeMaster thesisen_US
dc.date.updated2005-09-06en_US
dc.creator.authorNilssen, Sigmund Mariusen_US
dc.subject.nsiVDP::420en_US
dc.identifier.bibliographiccitationinfo:ofi/fmt:kev:mtx:ctx&ctx_ver=Z39.88-2004&rft_val_fmt=info:ofi/fmt:kev:mtx:dissertation&rft.au=Nilssen, Sigmund Marius&rft.title=Utilizing Generic Packages with Expandable Classes in a Java-like context&rft.inst=University of Oslo&rft.date=2005&rft.degree=Masteroppgaveen_US
dc.identifier.urnURN:NBN:no-10973en_US
dc.type.documentMasteroppgaveen_US
dc.identifier.duo29066en_US
dc.contributor.supervisorKrogdahl, Steinen_US
dc.identifier.bibsys05155139xen_US
dc.identifier.fulltextFulltext https://www.duo.uio.no/bitstream/handle/10852/9323/1/oppgave.pdf


Files in this item

Appears in the following Collection

Hide metadata