logo of the SSW institute
Institut für Systemsoftware
Johannes Kepler Universität Linz
Fachbereich Informatik
logo of the Cristian Doppler Research Association
Christian Doppler Labor
Automated Software Engineering

Home

General
Staff
Contact
Partners
Alumni

Research
Areas
Projects
Papers
Books
Reports
Awards

Teaching
Lectures
Exams
B.Projects
M.Theses
PhD Theses
Go Abroad

Misc
Library
Seminars
Gallery
Links
Search

Webmaster


logo of the Johannes Kepler University (JKU)

Twin -- A Design Pattern for Modeling Multiple Inheritance

Hanspeter Mössenböck
Johannes Kepler University Linz
Institute for Practical Computer Science
Altenbergerstraße 69, A-4040 Linz
moessenboeck@ssw.uni-linz.ac.at


Abstract

We introduce an object-oriented design pattern called Twin that allows us to model multiple inheritance in programming languages that do not support this feature (e.g. in Java, Modula-3 or Oberon-2). The pattern avoids many of the problems of multiple inheritance while keeping most of its benefits. The structure of this paper corresponds to the form of the design pattern catalogue in [GHJV95].


Paper at "PSI99: Perscpectives of System Informatics", Novosibirsk, Russia, July 6-9, 1999.
Published in Lecture Notes in Computer Science 1755 (pp. 358-369), ISBN 3-540-67102-1, Springer-Verlag, 1999.
You can download the paper in PDF